Sets the output to AC Voltage Mode.
CalRefSetACVolts (hHandle, dVoltage, dFrequency, plStatus)
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. |
This function sets the Reference output function to AC Voltage and sets the corresponding amount of voltage and frequency.
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);