beautypg.com

Digilent WaveForms User Manual

Page 84

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


FDwfAnalogOutSymmetryInfo
(
HDWF hdwf,

int

idxChannel,

double

*ppercentageMin,

double

*ppercentageMax)

Parameters:

-

hdwf – Open interface handle on a device.

-

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


FDwfAnalogOutSymmetrySet
(
HDWF hdwf,

int

idxChannel,

double

percentageSymmetry)

Parameters:

-

hdwf – Open interface handle on a device.

-

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


FDwfAnalogOutSymmetryGet
(
HDWF hdwf,

int

idxChannel,

double

*ppercentageSymmetry)

Parameters:
-

hdwf – Open interface handle on a device.

-

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


FDwfAnalogOutPhaseInfo
(
HDWF hdwf,

int

idxChannel,

double

*pdegreeMin,

double

*pdegreeMax)

Parameters:

-

hdwf – Open interface handle on a device.

-

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