Returns status of the calibrator’s calibration at the specified calibration program duration.
CalRefGetCalibrationStatus (hHandle, dwCalibrationProgramDuration, pbValidCalibration, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Reference. |
dwCalibrationProgramDuration |
DWORD |
Calibration Program Duration in seconds. |
pbValidCalibration |
PBOOL |
Returns True if the calibrator is calibrated. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The function returns TRUE if while running the calibration program (duration specified by the dwCalibrationProgramDuration parameter) the Calibrator’s calibration is valid.
If the function returns FALSE, the user needs to run the Calibrator’s self-calibration routines from its front panel.
The following example returns the status of the calibrator’s calibration in the next 2 hours:
LONG lHandle, lStatus;
BOOL bValidCalibration;
CalRefGetCalibrationStatus (lHandle, 7200, &bValidCalibration &lStatus);