beautypg.com

Digilent WaveForms User Manual

Page 48

background image

WaveForms™ SDK Reference Manual

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 48 of 85


FDwfAnalogOutRunSet
(HDWF hdwf,

int

idxChannel,

double

secRun)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

secRun – Run length to set expressed in seconds.

The function above is used to set the run length for the instrument in Seconds.


FDwfAnalogOutRunGet
(HDWF hdwf,

int

idxChannel,

double

*psecRun)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

psecRun – Pointer to variable to receive the run length.

The function above is used to read the configured run length for the instrument in Seconds.


FDwfAnalogOutRunStatus
(HDWF hdwf,

int

idxChannel,

double

*psecRun)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

psecRun – Pointer to variable to receive the remaining run length.

The function above is used to read the remaining run length. It returns data from the last FDwfAnalogOutStatus
call.


FDwfAnalogOutWaitInfo
(HDWF hdwf,

int

idxChannel,

double

*psecMin,

double

*psecMax)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

psecMin – Variable to receive the supported minimum wait length.

-

psecMax – Variable to receive the supported maximum wait length.

The function above is used to return the supported wait length range in Seconds. The wait length is how long the
instrument waits after being triggered to generate the signal. Default value is zero.

FDwfAnalogOutWaitSet(HDWF hdwf,

int

idxChannel,

double

secWait)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

secWait – Wait length to set expressed in seconds.

The function above is used to set the wait length for the channel on instrument.