CalRefSetACVolts

Purpose

Sets the output to AC Voltage Mode.

Syntax

CalRefSetACVolts (hHandle, dVoltage, dFrequency, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Reference.
dVoltage
DOUBLE
Set the voltage in Volts.
dFrequency
DOUBLE
Sets the voltage frequency in Hertz.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function sets the Reference output function to AC Voltage and sets the corresponding amount of voltage and frequency.

Example

The following example set the Reference output function to AC Voltage and sets the corresponding amount of voltage to 15 Volts at 2000 Hertz:

 

LONG   lHandle, lStatus;

 

CalRefSetACCurrent (lHandle, 15, 2000, &lStatus);

 

See Also

CalRefInitialize, CalRefSetACCurrent, CalRefGetError