Returns the currently applied calibration set
GxDmmGetCalibrationSet (nHandle, plCalSet, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
plCalSet |
PLONG |
Returns the currently applied calibration set. The following are acceptable values:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The GX2065 has the ability to load different calibration sets dynamically. The EEPROM stores two full calibration sets, User and Factory. The Factory calibration is done at Marvin Test Soplutions and cannot be overwritten by the end user. The User Calibration stores a copy of the Factory Calibration but can be overwritten by the User if a Calibration License is active.
The Factory calibration can be restored by calling GxDmmRestoreFactoryCalibration. This function will copy the contents of the Factory calibration to the User calibration.
Note that the User Calibration is always loaded by default on initial power up and reset.
The following example gets the currently loaded calibration set:
SHORT nHandle, nStatus;
LONG lCalSet;
GxDmmGetCalibrationSet (nHandle, &lCalSet, &nStatus);
GxDmmSetCalibrationSet, GxDmmSetCalibrationMeasurements, GxDmmWriteCalibrationEEPROM, GxDmmRestoreFactoryCalibration, GxDmmGetErrorString