Returns the specified required calibration status.
CalRefGetRequiredCalibration (hHandle, enCalRefRequiredCalibration, pbValidCalibration, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Reference. |
enCalRefRequiredCalibration |
PLONG |
Required Calibration constants:0. aRefRequiredCalibrationInstrument – query if the calibrator is due for its annually calibration.1. aRefRequiredCalibrationZero - query if the calibrator is due for its internal zero calibration, this calibration is done through the calibrator’s front panel.2. aRefRequiredCalibrationZeroOhms - query if the calibrator is due for its internal zero ohms calibration, this calibration is done through the calibrator’s front panel.3. aRefRequiredCalibrationScope - query if the calibrator is due for its internal scope calibration, this calibration is done through the calibrator’s front panel. |
pbValidCalibration |
PSTR |
Returns True if the calibrator is calibrated. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The function returns the specified required calibration status.
The following example returns if calibrator is due for zero ohms calibration:
LONG lHandle, lStatus;
BOOL bValidCalibration;
CalRefGetRequiredCalibration (lHandle, aRefRequiredCalibrationZeroOhms, &bValidCalibration, &lStatus);