beautypg.com

Digilent WaveForms User Manual

Page 43

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


FDwfAnalogOutNodeSymmetrySet
(HDWF hdwf,

int

idxChannel, AnalogOutNode node,

AnalogOutNode node,

double

percentageSymmetry)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

percentageSymmetry –Value of percentage of Symmetry (duty cycle).

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


FDwfAnalogOutNodeSymmetryGet
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

*ppercentageSymmetry)

Parameters:
-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

ppercentageSymmetry –– Pointer to variable to receive value of Symmetry (duty cycle).

The function above is used to get the currently set symmetry (or duty cycle) for the specified channel-node of the
instrument.


FDwfAnalogOutNodePhaseInfo
(HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

*pdegreeMin,

double

*pdegreeMax)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

pdegreeMin – Minimum value of Phase (in degrees).

-

pdegreeMax – Maximum value of Phase (in degrees).

The function above is used to retrieve the phase range (in degrees 0...360) for the specified channel-node of the
instrument.


FDwfAnalogOutNodePhaseSet
(
HDWF hdwf,

int

idxChannel, AnalogOutNode node,

double

degreePhase)

Parameters:

-

hdwf – Open interface handle on a device.

-

idxChannel – Channel index.

-

node – Node index.

-

degreePhase – Value of Phase in degrees.

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