Digilent WaveForms User Manual
Page 40

WaveForms™ SDK Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 40 of 85
FDwfAnalogOutNodeFunctionGet(
HDWF hdwf,
int
idxChannel, AnalogOutNode node, FUNC *pfunc)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Channel index.
-
node – Node index.
-
ptrigsrc – Pointer to variable to receive the generator function option.
The function above is used to retrieve the current generator function option for the specified instrument channel.
FDwfAnalogOutNodeFrequencyInfo(HDWF hdwf,
int
idxChannel, AnalogOutNode node,
double
*phzMin,
double
*phzMax)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Zero based channel index.
-
node – Zero based node index.
-
phzMin – Variable to receive the supported minimum frequency.
-
phzMax – Variable to receive the supported maximum frequency.
The function above is used to return the supported frequency range for the instrument. The maximum value
shows the DAC frequency. The frequency of the generated waveform: repetition frequency for standard types and
custom data; DAC update for noise type; sample rate for play type.
FDwfAnalogOutNodeFrequencySet(
HDWF hdwf,
int
idxChannel, AnalogOutNode node,
double
hzFrequency)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Channel index.
-
node – Node index.
-
hzFrequency – Frequency value to set expressed in Hz.
The function above is used to set the frequency. With channel index -1, each enabled Analog Out channel
frequency will be configured to use the same, new option.
FDwfAnalogOutNodeFrequencyGet(
HDWF hdwf,
int
idxChannel, AnalogOutNode node,
double
*phzFrequency)
Parameters:
-
hdwf – Open interface handle on a device.
-
idxChannel – Channel index.
-
node – Node index.
-
hzFrequency – Pointer to variable to receive frequency value in Hz.
The function above is used to get the currently set frequency for the specified channel-node on the instrument.