CalRefSetState

Purpose

Sets the output state.

Syntax

CalRefSetState (hHandle, bOperate, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Reference.
bOperate
BOOL
Set operational state of the Reference.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

This function sets the Reference operation state. When this function is called with bOperate set to FALSE, the Reference is set to standby mode. If bOperate is set to TRUE, the Reference is operating.

Example

The following example set the Reference operate state Standby:

 

LONG   lHandle, lStatus;

 

CalRefSetState (lHandle, False, &lStatus);

 

See Also

CalRefInitialize, CalRefGetError