CalRefSetACCurrent

Purpose

Sets the output to AC Current Mode.

Syntax

CalRefSetACCurrent (hHandle, dCurrent, dFrequency, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Reference.
dCurrent
DOUBLE
Set the current in Amps.
dFrequency
DOUBLE
Sets the current frequency in Hertz.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

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

Example

The following example set the Reference output function to AC Current and sets the corresponding amount of current to 0.5 Amps at 400 Hertz:

 

LONG   lHandle, lStatus;

 

CalRefSetACCurrent (lHandle, 0.5, 400, &lStatus);

 

See Also

CalRefInitialize, CalRefSetACVolts, CalRefGetError