beautypg.com

Digilent WaveForms User Manual

Page 38

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


FDwfAnalogOutNodeEnableSet
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node, BOOL fEnable)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

fEnable – TRUE to enable, FALSE to disable.

The function above enables or disables the channel node specified by idxChannel and node. The Carrier node
enables or disables the channel and AM/FM the modulation. With channel index -1, each Analog Out channel
enable will be configured to use the same, new option.



FDwfAnalogOutNodeEnableGet
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node, BOOL *pfEnable)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

pfEnable – Pointer to variable to receive enabled state.

The function above is used to verify if a specific channel and node is enabled or disabled.