beautypg.com

Digilent WaveForms User Manual

Page 45

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


FDwfAnalogOutLimitationInfo
(
HDWF hdwf,

int

idxChannel,

double

*pvMin,

double

*pvMax)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

pvMin – Minimum limitation value.

-

pvMax – Maximum offset voltage or modulation offset percentage.

The function above is used to retrieve available the limitation range.

This option is supported on Electronics

Explorer Analog Out Channel 3 and 4, Positive and Negative Power supplies, to set current or voltage limitation.


FDwfAnalogOutLimitationSet
(HDWF hdwf,

int

idxChannel,

double

limit)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

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

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


FDwfAnalogOutLimitationGet
(HDWF hdwf,

int

idxChannel,

double

*plimit)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

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

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


FDwfAnalogOutModeSet
(HDWF hdwf,

int

idxChannel, DwfAnalogOutMode mode)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

mode – Generator mode option to set.

The function above is used to set the generator output mode for the specified instrument channel. With channel
index -1, each enabled Analog Out channel mode will be configured to use the same, new option. This option is
supported on Electronics Explorer Analog Out Channel 3 and 4, Positive and Negative Power supplies, to set
current or voltage waveform generator mode.

The DwfAnalogOutMode options are:

DwfAnalogOutModeVoltage

DwfAnalogOutModeCurren