Returns the board summary.
Gx5732GetBoardSummary (nHandle, szSummary, nSumMaxLen, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5732 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 GX5732 summary string provides the following data:
Instrument name (e.g., GX5732)
FPGA version of main board (e.g. 0xA003)
For example, the returned string could look like the following:
GX5732, FPGA Version:0xA000
The following example returns the board summary:
SHORT nHandle, nStatus;
CHAR szSummary [256];
Gx5732GetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus);
GxPIOGetDriverSummary, Gx5732Initialize, GxPioGetErrorString