GX1110, GX1120
Returns the board information.
GtWaveGetBoardSummary (nHandle, szSummary, nSumMaxLen, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX11X0 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 board summary string provides the following data from the board in the order shown:
Instrument Name (e.g., GX1120)
Firmware (FPGA) Version (e.g., 0xB000)
Serial Number (e.g. GX11200005-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:
“GtWave, FPGA-Version:0xB000, Serial Number: GtWave0005-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];
GtWaveGetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus);
GtWaveGetDriverSummary, GtWaveInitialize, GtWaveGetErrorString