Sets the output state.
CalRefSetState (hHandle, bOperate, plStatus)
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. |
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.
The following example set the Reference operate state Standby:
LONG lHandle, lStatus;
CalRefSetState (lHandle, False, &lStatus);