beautypg.com

Digilent WaveForms User Manual

Page 74

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


FDwfDigitalOutRepeatStatus
(HDWF hdwf,

unsigned

int

*pcRepeat)

Parameters:

- hdwf – Interface handle.

- pcRepeat – Pointer to variable to receive the remaining repeat counts.

The function above is used to read the remaining repeat counts. It only returns information from the last
FDwfDigitalOutStatus function call, it does not read from the device.


FDwfDigitalOutRepeatTriggerSet
(HDWF hdwf, BOOL fRepeatTrigger)

Parameters:

- hdwf – Interface handle.

- 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.


FDwfDigitalOutRepeatTriggerGet
(HDWF hdwf, BOOL *pfRepeatTrigger)

Parameters:

- hdwf – Open interface handle on a device.
- 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.


FDwfDigitalOutCount
(HDWF hdwf,

int

*pcChannel)

Parameters:

- hdwf – Interface handle.

- pcChannel – Pointer to variable to receive the number of channels in the instrument.

The function above returns the number of Digital Out channels by the device specified by hdwf.


FDwfDigitalOutEnableSet
(HDWF hdwf,

int

idxChannel, BOOL fEnable)

Parameters:

- hdwf – Interface handle.

- idxChannel – Channel index.

- fEnable – TRUE to enable, FALSE to disable.

The function above enables or disables the channel specified by idxChannel.