Returns the board information
GxDmmGetBoardSummary (nHandle, pszSummary, nSumMaxLen, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
pszSummary |
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 DMM summary string provides the following data from the board in the order shown:
Instrument Name (e.g., GX2065: 6 ½ Digit DMM Board)
Unit S/N (e.g., 00001)
Unit C/N (e.g., '*-AA-AA-00')
Interface Module S/N (e.g., 00001)
Interface Module C/N (e.g., ‘*-AC-AA-00’)
Measurement Module S/N (e.g., 00001)
Measurement Module C/N (e.g., ‘*-AA-AB-00’)
Firmware Version (A.1.9)
For example, the returned string for GX2065 looks like the following:
GX2065: 6 1/2 Digit DMM Board, Firmware: B.a.00, FPGA: C.06, EEPROM: A
Unit S/N:00051, C/N:ZZ-DC-DA-000
Interface Module S/N:00055, C/N:ZZ-DC-DB-000
Measurement Module S/N:00049, C/N:ZZ-DC-DB-000
Production Calibration Date: Tue Feb 19 17:07:50 2013
Calibration Date: Tue Feb 19 17:07:50 2013
Recommended Interval: 1 year
Next Calibration Date: Wed Feb 19 17:07:50 2014
Status: Expired (118 days past expiration)
The following example gets the board summary:
SHORT nHandle, nStatus;
CHAR szSummary [256];
GxDmmGetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus);