CalRefSetDCVoltsLimit

Purpose

Sets the output to DC Voltage limit.

Syntax

CalRefSetDCVoltsLimit (hHandle, dVoltageLimit, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Reference.
dVoltageLimit
DOUBLE
Set the voltage limit in Volts.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function sets the Reference output function to DC Voltage and sets the corresponding amount of voltage.

Example

The following example set the Reference output function to DC Voltage and sets the corresponding amount of voltage to 15 Volts.:

LONG   lHandle, lStatus;

 

CalRefSetDCVoltsLimit (lHandle, 15, &lStatus);

 

See Also

CalRefInitialize, CalRefSetDCCurrent, CalRefGetError