beautypg.com

Digilent WaveForms User Manual

Page 42

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


FDwfAnalogOutNodeOffsetInfo
(
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 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.

For carrier node in units of volts, and in

percentage units for AM/FM nodes.


FDwfAnalogOutNodeOffsetSet
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

vOffset)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

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


FDwfAnalogOutNodeOffsetGet
(HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

*pvOffset)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node 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-node on the instrument.



FDwfAnalogOutNodeSymmetryInfo
(HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

*ppercentageMin,

double

*ppercentageMax)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

ppercentageMin – Minimum value of Symmetry percentage.

-

ppercentageMax – Maximum value of Symmetry percentage.

The function above is used to obtain the symmetry (or duty cycle) range (0..100). This symmetry is supported for
standard signal types. It the pulse duration divided by the pulse period.