Public Member Functions

void setup (unsigned int numChannels, float sampleRate)
 
void log (float chn1,...)
 
void log (float *values)
 
bool trigger ()
 

Detailed Description

Member Function Documentation

void Scope::setup ( unsigned int  numChannels,
float  sampleRate 
)

Setup the Scope.

Parameters
numChannelsnumber of channels in the scope.
sampleRatesampleRate of the data passed in.
Examples:
scope-analog/render.cpp, and scope/render.cpp.
void Scope::log ( float  chn1,
  ... 
)

Logs a frame of data to the scope.

Pass one argument per channel (starting from the first), up to the number of channels of the object. Omitted values will be set to 0.

Examples:
scope-analog/render.cpp, and scope/render.cpp.
void Scope::log ( float *  values)

Logs a frame of data to the scope.

Parameters
valuesa pointer to an array containing numChannels values.

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