Returns the board information.
DioGetBoardSummary (nHandle, szSummary, nSumMaxLen, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a counter 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 DIO board summary string provides information about the board. The following example is the returned board summery for a Gx5293 master board:
Gx5055:
“Gx5055 Master, FPGA-Version: 0xC028, I/O FPGA-Version: 0xFFFFC021, S/N: 50550009-AB-CD-19, Calibrated on: Fri Oct 21 16:08:48 2011”
Gx5290:
“Gx5293 Master, S/N 52930014, FPGA-Version: 0x7B15, I/O Data Interface Level: 2.5V, Installed Memory size: 256MB, Calibrated on: Wed Oct 26 09:03:36 2011”
Gx5295:
“Gx5295 Master, S/N 52950011-BC-DE-67, FPGA-Version: 0xB930, Installed Memory size: 256MB, Calibrated on: Wed Oct 26 09:03:36 2011”
The following example returns the board summary:
SHORT nHandle, nStatus;
CHAR szSummary [256];
DioGetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus);