3 states, States – Digilent WaveForms User Manual

Page 47

Advertising
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 47 of 85

6.3 States


FDwfAnalogOutTriggerSourceInfo
(HDWF hdwf,

int

idxChannel,

int

*pfstrigsrc)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

pfstrigsrc – Variable to receive the supported trigger sources.

The function above returns the supported trigger source options for the instrument. See the description of
FDwfDeviceTriggerInfo.


FDwfAnalogOutTriggerSourceSet
(HDWF hdwf,

int

idxChannel, TRIGSRC trigsrc)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

trigsrc – Trigger source to set.

The function above is used to set the trigger source for the channel on instrument.


FDwfAnalogOutTriggerSourceGet
(HDWF hdwf,

int

idxChannel, TRIGSRC *ptrigsrc)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

ptrigsrc – Pointer to variable to receive the trigger source.

The function above is used to get the current trigger source setting for the channel on instrument.


FDwfAnalogOutRunInfo
(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 run length.

-

psecMax – Variable to receive the supported maximum run length.

The function above is used to return the supported run length range for the instrument in Seconds. Zero values
represent an infinite (or continuous) run. Default value is zero.

Advertising