Digilent WaveForms User Manual

Page 41

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


FDwfAnalogOutNodeAmplitudeInfo
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

*pvMin,

double

*pvMax)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

pvMin – Minimum amplitude level or modulation index.

-

pvMax – Maximal amplitude level or modulation index.

The function above is used to retrieve the amplitude range for the specified channel-node on the instrument. The
amplitude is expressed in Volt units for carrier and in percentage units (modulation index) for AM/FM.



FDwfAnalogOutNodeAmplitudeSet
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

vAmplitude)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

vAmplitude – Amplitude of channel in Volts or modulation index in percentage.

The function above is used to set the amplitude or modulation index for the specified channel-node on the
instrument. With channel index -1, each enabled Analog Out channel amplitude (or modulation index) will be
configured to use the same, new option.


FDwfAnalogOutNodeAmplitudeGet
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

*pvAmplitude)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

pvAmplitude – Pointer to variable to receive amplitude value in Volts or modulation index in percentage.

The function above is used to get the currently set amplitude or modulation index for the specified channel-node
on the instrument.

Advertising