User manual

2.3.13 Acqrs_getVersion
Purpose
Returns version numbers associated with a specified instrument or current device driver.
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
versionItem ViInt32 1 for version of Kernel-Mode Driver
2 for version of EEPROM Common Section
3 for version of EEPROM Instrument Section
4 for version of CPLD firmware
Output
Name Type Description
version ViInt32 version number of the requested item
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
Discussion
For drivers, the version number is composed of 2 parts. The upper 2 bytes represent the major version
number, and the lower 2 bytes represent the minor version number.
LabWindowsCVI/Visual C++ Representation
ViStatus status = Acqrs_getVersion(ViSession instrumentID,
ViInt32 versionItem, ViInt32* version);
LabVIEW Representation
Acqiris Bx.lvlib: (or Aq Bx) Revision Query.vi
Visual Basic .NET Representation
Acqrs_getVersion (ByVal instrumentID As Int32, _
ByVal versionItem As Int32, ByRef version As Int32) As Int32
MATLAB MEX Representation
[status version] = Aq_getVersion(instrumentID, versionItem)
Programmer’s Reference Manual Page 31 of 210