Returns the specified channel calibration date from the on-board EEPROM.
GxPsGetChannelCalibrationDate (nHandle, nChannel pszCalibrationDate, nSumMaxLen, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
GX7400 slot number. |
|
nChannel |
SHORT |
Specifies the Channel number from which to get the current:1 – channel A2 – channel B |
pszCalibrationDate |
LPSTR |
Buffer to contain the returned calibration date (null terminated string) |
nSumMaxLen |
SHORT |
Size of the buffer contains the error string. |
pnStatus |
LPSHORT |
Returned status: 0 on success, negative number on failure. |
Calibration date has the mm/dd/yyyy format, for example:
"03/20/2002"
The following example returns the channel A calibration date.
SHORT nHandle, nStatus;
CHAR szCalibrationDate [256];
GxPsGetChannelCalibrationDate (nHandle, 1, szCalibrationDate, sizeof (szCalibrationDate), &nStatus);
GxPsGetCalibrationInfo, GxPsGetBoardSummary, GxPsGetErrorString, GxPsInitialize