Robochameleon  v1.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DSO_v1 Class Reference

Digital storage oscilloscope. More...

Inherits unit.

Public Member Functions

function DSO_v1 (in param)
 Class constructor. More...
 
function traverse (in obj, in varargin)
 Gathers information about signal, plots. More...
 
- Public Member Functions inherited from unit
function traverseNode (in obj)
 Set unique ID when creating a unit. More...
 
function connectOutput (in obj, in uobj, in unitOutput, in nextUnitInput)
 Specify where signal should go next. More...
 
function connectOutputs (in obj, in units, in destInputs)
 Specify where signal should go next. More...
 
function writeInputBuffer (in obj, in sig, in inputId)
 write input buffer
 
function horzcat (in varargin)
 horizontal concatenation
 
function vertcat (in varargin)
 vertical concatenation
 
function setparams (in obj, in params, in REQUIRED_PARAMS, in QUIET_PARAMS)
 set parameters More...
 
function view (in obj)
 Show interactive GUI through unit_view-class.
 

Static Public Member Functions

static function plot (in varargin)
 Main plotting function. More...
 
static function plotSignal (in y, in Nss, in Fs)
 
static function plotSignalFig (in y, in Nss, in Fs, in h)
 
static function initPlot (in h, in y, in Nss)
 
static function plotSpectrum (in y, in Nss, in Fs)
 
static function plotEye (in varargin)
 
static function plotConstellation (in varargin)
 
static function plotTimeSignal (in y, in Nss)
 
static function ylim_time (in y)
 

Public Attributes

Property nInputs
 Number of inputs.
 
Property nOutputs
 Number of outputs.
 
Property mode
 operating mode
 
Property maxlength
 upper limit on number of samples (to speed up)
 
Property enable
 Enables or disables the display {1|0}.
 
Property only
 
- Public Attributes inherited from unit
Property inputBuffer
 Buffer for storing inputs as we traverse the graph.
 
Property nextNodes
 Children nodes.
 
Property destInputs
 Destination inputs in children.
 
Property results
 For storing results.
 
Property label
 
Property draw
 enable/disable plotting
 
Property nInputs
 Number of signals traverse expects.
 
Property nOutputs
 Number of outputs traverse expects.
 

Detailed Description

Digital storage oscilloscope.

It shows what's going on in your signal(s). Adapts to the number of channels to show constellations or just eye diagrams. Requires a modulated signal with integer number of samples per symbol.

Learns most information from the signal - it is best to not pass parameters yourself.

While debugging, you can call the static method DSO_v1.plot(signal_interface object) or DSO_v1.plotSignal(y, Nss, Fs) to see how your signal looks.

Author
Miguel Iglesias Olmedo
Version
1

Definition at line 21 of file DSO_v1.m.

Constructor & Destructor Documentation

function DSO_v1::DSO_v1 ( in  param)

Class constructor.

Parameters
param.nInputsNumber of inputs [Default: 1];
param.modeHow to treat different channels {'single' -as PAM| 'coherent' as separated I and Q} [Default: single]
param.maxlengthMaximum number of points to plot [Default: all]
param.enablePlot/don't plot (for loops). [Default: on]
Return values
objAn instance of the class DSO_v1

Member Function Documentation

static function DSO_v1::plot ( in  varargin)
static

Main plotting function.

Parameters
varargin[The signal_interface to plot, maxlength, channels]
function DSO_v1::traverse ( in  obj,
in  varargin 
)
virtual

Gathers information about signal, plots.

Parameters
inThe signal_interface to plot

Reimplemented from unit.


The documentation for this class was generated from the following file: