GxPsGetCalibrationDate

Purpose

Returns the date when the board was calibrated by the manufacture from the on-board EEPROM.

Syntax

GxPsGetCalibrationDate (nHandle, pszCalibrationDate, nSumMaxLen, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
GX7400 slot number.
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.

Comments

Calibration date has the mm/dd/yyyy format, for example:  

"03/20/2002"

Example

The following example returns the board calibration date.

 

SHORT nHandle, nStatus;

CHAR szCalibrationDate [256];

GxPsGetCalibrationDate (nHandle, szCalibrationDate, sizeof (szCalibrationDate), &nStatus);

 

See Also

GxPsGetCalibrationInfo, GxPsGetBoardSummary, GxPsGetErrorString, GxPsInitialize