Digilent WaveForms User Manual
Page 46
WaveForms™ SDK Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 46 of 85
FDwfAnalogOutModeGet(HDWF hdwf,
int
idxChannel, DwfAnalogOutMode *pmode)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Channel index.
-
mode – Pointer to variable to receive the generator mode option.
The function above is used to retrieve the current generator mode option for the specified instrument channel.
FDwfAnalogOutIdleInfo(HDWF hdwf,
int
idxChannel,
int
*pfsidle)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Channel index.
-
pfsidlec – Variable to receive the supported generator idle options.
The function above returns the supported generator idle output options. They are returned (by reference) as a bit
field. This bit field can be parsed using the IsBitSet Macro. Individual bits are defined using the DwfAnalogOutIdle
constants in dwf.h. These are:
Idle Constants
Idle Constant Capabilities
DwfAnalogOutIdleDisable
Supported on Electronics Explorer:
Channel 1&2 0V ouput
Channel 3&4. having 1 kΩ resistor to GND and diode
DwfAnalogOutIdleOffset
The idle output is the configured Offset level.
DwfAnalogOutIdleInitial
The idle output voltage level has the initial waveform value of the
current configuration. This depends on the selected signal type,
Offset, Amplitude and Amplitude Modulator configuration.
FDwfAnalogOutIdleSet(HDWF hdwf,
int
idxChannel, DwfAnalogOutIdle idle)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Channel index.
-
idle – Generator function option to set.
The function above is used to set the generator idle output for the specified instrument channel. The idle output
selects the output while not running, Ready, Stopped, Done or Wait states.
FDwfAnalogOutIdleGet(HDWF hdwf,
int
idxChannel, DwfAnalogOutIdle *pidle)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Channel index.
-
pidle – Pointer to variable to receive the generator function option.
The function above is used to retrieve the generator idle output option for the specified instrument channel.