Returns the board information.
GxPResGetBoardSummary (nHandle, szSummary ,nSumMaxLen, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1034 board. |
szSummary |
PSTR |
Buffer to contain the returned board info (null terminated) string. |
nSumMaxLen |
SHORT |
The size of the summary string buffer. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The counter summary string provides the following data from the board in the order shown:
Instrument Name (e.g., GX1034)
Firmware (FPGA) Version (e.g., 0xB000)
Serial Number (e.g. GX10340005-BB-BA-0000)
Calibration date and time (e.g. Calibrated on: Sat Feb 23 23:36:14 2008)
For example, the returned string could look like the following:
“GxCal, FPGA-Version:0xB000, Serial Number: GxCal0005-BB-BA-0000, Calibrated on: Sat Feb 23 23:36:14 2008”
The following example returns the board summary:
SHORT nHandle, nStatus;
CHAR szSummary [256];
GxCalGetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus);
GxCalGetDriverSummary, GxCalInitialize , GxCalGetErrorString