CalRefSet2Wire

Purpose

Sets the output to 2-Wire Resistance Mode.

Syntax

CalRefSet2Wire (hHandle, dwResistance, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Reference.
dwResistance
DWORD
Set the Ohms of Resistance.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function sets the Reference output function to 2-Wire and sets the corresponding amount of resistance.

Example

The following example set the Reference to output 1000 Ohms in 2-Wire mode:

 

LONG   lHandle, lStatus;

 

CalRefSet2Wire (lHandle, 1000, &lStatus);

 

See Also

CalRefInitialize, CalRefSet4Wire, CalRefGetError