Restore the specified channel’s calibration data back to the manufacture data.
GxPsUserCalRestoreFactoryCalibration (nHandle, nChannel, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
GX7400 slot number. |
nChannel |
SHORT |
Specifies the Channel for which to set the voltage:1. GXPS_CHANNEL1: Channel 12. GXPS_CHANNEL2: Channel 2 |
pnStatus |
LPSHORT |
Returned status: 0 on success, negative number on failure, >0 for warning. |
The function overwrites the current calibration data with the manufacture’s calibration data.
The following example restore channel 1 calibration data back to the manufacture data.
SHORT nHandle, nStatus;
GxPsUserCalRestoreFactoryCalibration (nHandle, GXPS_CHANNEL1, &nStatus);
GxPsUserCalReadMeasuredVal, GxPsUserCalSetup, GxPsUserCalSetupForMeasurement, GxPsUserCalStoreCalibrationData, GxPsUserCalReadMeasuredVal, GxPsGetErrorString