Sets the output to DC Current Mode.
CalRefSetDCCurrentRange (hHandle, dCurrent, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Reference. |
dCurrent |
DOUBLE |
Set the current in Amps. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
This function sets the Reference output function to DC Current and sets the corresponding amount of current.
The following example set the Reference output function to DC Current and sets the corresponding amount of current to 0.5 Amps:
LONG lHandle, lStatus;
CalRefSetDCCurrent (lHandle, 0.5, &lStatus);
CalRefInitialize, CalRefSetDCVolts, CalRefSetDCCurrentRangeMode, CalRefGetError