Sets the output to DC Current Mode.
CalRefSetDCCurrentRangeMode (hHandle, lMode, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Reference. |
lMode |
LONG |
Set the current range auto mode:0. Current range auto mode is disabled.1. Current range auto mode is enabled. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
This function sets the DC current range auto mode to enabled or disabled. With auto ranging enabled, the instrument automatically goes to the most sensitive range to perform the measurement.
The following example enable the current auto range:
LONG lHandle, lStatus;
CalRefSetDCCurrentRangeMode (lHandle, 1, &lStatus);
CalRefInitialize, CalRefSetDCVolts, CalRefSetDCCurrentRange, CalRefGetError