GX3104, GX3116e
Returns the driver name and version.
GxSmuGetDriverSummary (pszSummary, nSummaryMaxLen, pdwVersion, pnStatus)
Name |
Type |
Description |
pszSummary |
PSTR |
Buffer to the returned driver summary string. |
nSummaryMaxLen |
SHORT |
The size of the summary string buffer. |
pdwVersion |
PDWORD |
Returned version number. The high order word specifies the major version number where the low order word specifies the minor version number. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The returned string is:
"GxSmu - Marvin Test Solutions' PXI SMU Driver for the GX3104, Version 1.0.0, Copyright © 2017, Marvin Test Solutions, Inc. All rights reserved"
The following example prints the driver version:
CHAR sz[128];
DWORD dwVersion;
SHORT nStatus;
GxSmuGetDriverSummary (sz, sizeof sz, &dwVersion, &nStatus);
printf("Driver Version %d.%d", (INT)(dwVersion>>16), (INT), dwVersion &0xFFFF);
GxSmuGetBoardSummary, GxSmuGetBoardType, GxSmuGetCalibrationInfo, GxSmuGetErrorString