Returns the board information.
Gx3348GetBoardSummary (nHandle, pszSummary, nSumMaxLen, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle for the PXI board. |
pszSummary |
PSTR |
Buffer to contain the returned board info (null terminated) string. |
nMaxLen |
SHORT |
Size of the buffer to contain the string. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The dc supply summary string provides the following data from the board in the order shown:
Instrument Name (e.g. Gx3348)
Firmware Revision (e.g. 1.00)
Serial Number (e.g. '00012')
Control Number (e.g. ‘CA-CA-000’)
For example, the returned string looks like the following:
GX3348: DC Source, Firmware: 0xC, S/N: 00012, C/N CA-CA-000”
The following example returns the board summary:
SHORT nHandle, nStatus;
CHAR szSummary [256];
Gx3348GetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus);
printf(“The Board Summary is %s”, szSummary);
GxPdoGetDriverSummary, Gx3348Initialize, GxPdoGetErrorString