2 configuration, Configuration – Digilent WaveForms User Manual

Page 71

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


FDwfDigitalOutStatus
(HDWF hdwf, DwfState *psts)

Parameters:

- hdwf – Interface handle.

- psts – Pointer to variable to return the state.

The function above is used to check the state of the instrument.

10.2 Configuration


FDwfDigitalOutInternalClockInfo
(HDWF hdwf,

double

*phzFreq)

Parameters:

- hdwf – Interface handle.

- phzFreq – Pointer to return the internal clock frequency.

The function above is used to retrieve the internal clock frequency.


FDwfDigitalOutTriggerSourceInfo
(HDWF hdwf,

int

*pfstrigsrc)

Parameters:

- hdwf – Interface handle.

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


FDwfDigitalOutTriggerSourceSet
(HDWF hdwf, TRIGSRC trigsrc)

Parameters:

- hdwf – Interface handle.

- trigsrc – Trigger source to set .

The function above is used to set the trigger source for the instrument. Default setting is trigsrcNone.


FDwfDigitalOutTriggerSourceGet
(HDWF hdwf, TRIGSRC *ptrigsrc)

Parameters:
- hdwf – Interface handle.

- ptrigsrc – Pointer to variable to receive the trigger source.

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

Advertising