Returns the board summary from the on-board EEPROM.
Gx1838GetBoardSummary (nHandle, szSummary, nSumMaxLen, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1838 board. |
szSummary |
PSTR |
Buffer to contain the returned board info (null terminated) string. |
nSumMaxLen |
SHORT |
Size of the buffer to contain the error string. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The GX1838 summary string provides the following data from the on-board EEPROM in the order shown:
Instrument Name (e.g., GX1838)
EEPROM format version (e.g., 1.00)
PCB revision (e.g., 'A')
FPGA version (e.g. 0xA003)
Serial Number (e.g., 1838008)
Calibration time and date
For example, the returned string could look like the following:
GX1838, Version 1.00, Revision A, S/N 1838008, last calibrated time Mon May 08 14:39:02 2002
The following example returns the board summary:
SHORT nHandle, nStatus;
CHAR szSummary [256];
Gx1838GetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus)
GxPdoGetDriverSummary, Gx1838Initialize, GxPdoGetErrorString