Returns the board S/N, firmware version and revision, and calibration time.
GxPResGetBoardSummary (nHandle, pszSummary ,nSummaryMaxLen, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1164 board. |
pszSummary |
PSTR |
Buffer to the returned driver summary string. |
nSummaryMaxLen |
SHORT |
The size of the summary string buffer. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The returned string is: " GX1164, Version 0.1, Revision 0, S/N 1, last calibration time Tue Jul 23 18:22:53 2002".
The following example prints the driver version:
CHAR sz[128];
SHORT nStatus;
Gx1164GetBoardSummary (nHandle, sz, sizeof sz, &nStatus);
printf("Board Summary: %s", sz);