GxPsUserCalRestoreFactoryCalibration

Purpose

Restore the specified channel’s calibration data back to the manufacture data.

Syntax

GxPsUserCalRestoreFactoryCalibration (nHandle, nChannel, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
GX7400 slot number.
nChannel
SHORT
Specifies the Channel for which to set the voltage:
1. GXPS_CHANNEL1: Channel 1
2. GXPS_CHANNEL2: Channel 2
pnStatus
LPSHORT
Returned status: 0 on success, negative number on failure, >0 for warning.

Comments

The function overwrites the current calibration data with the manufacture’s calibration data.

Example

The following example restore channel 1 calibration data back to the manufacture data.

 

SHORT nHandle, nStatus;

GxPsUserCalRestoreFactoryCalibration (nHandle, GXPS_CHANNEL1, &nStatus);

 

See Also

GxPsUserCalReadMeasuredVal, GxPsUserCalSetup, GxPsUserCalSetupForMeasurement, GxPsUserCalStoreCalibrationData, GxPsUserCalReadMeasuredVal, GxPsGetErrorString