Returns the board information.
Gx3748GetBoardSummary (nHandle, pszSummary, nMaxLen, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3748 board. |
pszSummary |
PSTR |
Buffer to contain the returned board info (null terminated) string. |
nMaxLen |
SHORT |
pszSummary buffer size . |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function returns the board information of the Gx3748 which includes the FPGA version, and serial number.
The following example returns the board information:
CHAR szSummary[1024];
Gx3748GetBoardSummary (nHandle, szSummary, 1024, &nStatus);
Prints:
GX3748 Threshold Comparator S/N: 9999-ZZ-AB-CD-000, User Interface Firmware-Version:0x0007.
Expansion Board: S/N: 5678-ZZ-AB-CD-000, FPGA-Version:0x0011, EEPROM-Version: 1, Calibration time: Wed Jul 31 16:47:40 2019