Owner manual

WaveForms™ SDK Reference Manual
Page 39 of 85
FDwfAnalogOutNodeFunctionInfo(
HDWF hdwf, int idxChannel, AnalogOutNode node, int *pfsfunc)
Parameters:
- hdwf Open interface handle on a device.
- idxChannel Channel index.
- node Node index.
- pfsfunc Variable to receive the supported generator function options.
The function above returns the supported generator function 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 FUNC constants in
dwf.h. These are:
FUNC Constants
FUNC Constant Capabilities
funcDC
Generate DC value set as offset.
FuncSine
Generate sine waveform.
funcSquare
Generate square waveform.
funcTriangle
Generate triangle waveform.
funcRampUp
Generate a waveform with a ramp-up voltage at the beginning.
funcRampDown
Generate a waveform with a ramp-down voltage at the end.
funcNoise
Generate noise waveform from random samples.
funcCustom
Generate waveform from custom repeated data.
funcPlay
Generate waveform from custom data in stream play style.
FDwfAnalogOutNodeFunctionSet(
HDWF hdwf, int idxChannel, AnalogOutNode node, FUNC func)
Parameters:
- hdwf Open interface handle on a device.
- idxChannel Channel index.
- node Node index.
- func Generator function option to set.
The function above is used to set the generator output function for the specified instrument channel. With channel
index -1, each enabled Analog Out channel function will be configured to use the same, new option.