CalRefSetDCCurrentRangeMode

Purpose

Sets the output to DC Current Mode.

Syntax

CalRefSetDCCurrentRangeMode (hHandle, lMode, plStatus)

Parameters

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.

Comments

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.

Example

The following example enable the current auto range:

 

LONG   lHandle, lStatus;

 

CalRefSetDCCurrentRangeMode (lHandle, 1, &lStatus);

 

See Also

CalRefInitialize, CalRefSetDCVolts, CalRefSetDCCurrentRange, CalRefGetError