GxPsGetChannelCalibrationDate

Purpose

Returns the specified channel calibration date from the on-board EEPROM.

Syntax

GxPsGetChannelCalibrationDate (nHandle, nChannel pszCalibrationDate, nSumMaxLen, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
GX7400 slot number.

nChannel

SHORT
Specifies the Channel number from which to get the current:
1 – channel A
2 – 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.

Comments

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

"03/20/2002"

Example

The following example returns the channel A calibration date.

 

SHORT nHandle, nStatus;

CHAR szCalibrationDate [256];

GxPsGetChannelCalibrationDate (nHandle, 1, szCalibrationDate, sizeof (szCalibrationDate), &nStatus);

 

See Also

GxPsGetCalibrationInfo, GxPsGetBoardSummary, GxPsGetErrorString, GxPsInitialize