beautypg.com

Digilent WaveForms User Manual

Page 50

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 50 of 85


FDwfAnalogOutRepeatTriggerSet
(HDWF hdwf,

int

idxChannel, BOOL fRepeatTrigger)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

fRepeatTrigger – Boolean used to specify if the trigger should be included in a repeat cycle.

The function above is used to set the repeat trigger option. To include the trigger in wait-run repeat cycles, set
fRepeatTrigger to TRUE. It is disabled by default.


FDwfAnalogOutRepeatTriggerGet
(
HDWF hdwf,

int

idxChannel, BOOL *pfRepeatTrigger)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

pfRepeatTrigger – Pointer to variable to receive the repeat trigger option.

The function above is used to verify if the trigger has been included in wait-run repeat cycles.


FDwfAnalogOutMasterSet
(HDWF hdwf,

int

idxChannel,

int

idxMaster)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

idxMaster – Node index.

The function above sets the state machine master of the channel generator. With channel index -1, each enabled
Analog Out channel will be configured to use the same, new option.


FDwfAnalogOutMasterGet
(HDWF hdwf,

int

idxChannel,

int

*pidxMaster)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

pidxMaster – Pointer to variable to receive parameter.

The function above is used to verify the parameter.