Sets the output to AC Current Mode.
CalRefSetACCurrent (hHandle, dCurrent, dFrequency, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Reference. |
dCurrent |
DOUBLE |
Set the current in Amps. |
dFrequency |
DOUBLE |
Sets the current frequency in Hertz. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
This function sets the Reference output function to AC Current and sets the corresponding amount of current and frequency.
The following example set the Reference output function to AC Current and sets the corresponding amount of current to 0.5 Amps at 400 Hertz:
LONG lHandle, lStatus;
CalRefSetACCurrent (lHandle, 0.5, 400, &lStatus);