CalRefSetDCCurrentRange

Purpose

Sets the output to DC Current Mode.

Syntax

CalRefSetDCCurrentRange (hHandle, dCurrent, plStatus)

Parameters

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.

Comments

This function sets the Reference output function to DC Current and sets the corresponding amount of current.

Example

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);

 

See Also

CalRefInitialize, CalRefSetDCVolts, CalRefSetDCCurrentRangeMode, CalRefGetError