In file No file:

int awgWaveformCmd (const char* cmd, AWG_Component comp[], int* cnum, char** errmsg, float** points, int* num, int isDS340)

ASCII command for an arbitrary waveform generator

Documentation

ASCII command for an arbitrary waveform generator. This function interprets the specified waveform string and returns the corresponding awg components and awg points (arbitary waveforms only). On errer the function returns a negative value and an error message if a string pointer is specified. The caller is responsible to free the memory returned by points or errmsg. (In no case both are returned!) For arbitrary waveforms the caller should also specify if the waveforms are meant for a DS340.

Returns:
0 if successful, <0 if not
Parameters:
cmd - waveform description
comp - awg components (return, maximum 2)
cnum - number of awg components (return)
errmsg - error message (return)
points - waveform array (return)
num - number of points in the waveform array
isDS340 - true if stand-alone AWG
Author:
DS, June 98
See Also:
T990013 for allowed waveforms

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++