beautypg.com

Digilent WaveForms User Manual

Page 83

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


FDwfAnalogOutAmplitudeSet
(HDWF hdwf,

int

idxChannel,

double

vAmplitude)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel 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 on the instrument.
With channel index -1, each enabled Analog Out channel amplitude will be configured to use the same, new
option.


FDwfAnalogOutAmplitudeGet
(HDWF hdwf,

int

idxChannel,

double

*pvAmplitude)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel 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 on the
instrument.


FDwfAnalogOutOffsetInfo
(HDWF hdwf,

int

idxChannel,

double

*pvMin,

double

*pvMax)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

pvMin – Minimum offset voltage or modulation offset percentage.

-

pvMax – Maximum offset voltage or modulation offset percentage.

The function above is used to retrieve available the offset range in units of volts.


FDwfAnalogOutOffsetSet
(HDWF hdwf,

int

idxChannel,

double

vOffset)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

vOffset – Value to set voltage offset in Volts or modulation offset percentage.

The function above is used to set the offset value for the specified channel on the instrument. With channel index -
1, each enabled Analog Out channel offset will be configured to use the same, new option.


FDwfAnalogOutOffsetGet
(HDWF hdwf,

int

idxChannel,

double

*pvOffset)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

pvOffset – Pointer to variable to receive offset value in Volts or modulation offset percentage.

The function above is used to get the current offset value for the specified channel on the instrument.