GxSmuGetDriverSummary

Applies To

GX3104, GX3116e

Purpose

Returns the driver name and version.

Syntax

GxSmuGetDriverSummary (pszSummary, nSummaryMaxLen, pdwVersion, pnStatus)

Parameters

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.

Comments

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"

Example

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);

 

See Also

GxSmuGetBoardSummary, GxSmuGetBoardType, GxSmuGetCalibrationInfo, GxSmuGetErrorString