User manual
2.3.9 Acqrs_getInstrumentData
Purpose
Returns some basic data about a specified instrument.
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
Output
Name Type Description
name ViChar [ ] Pointer to user-allocated string, into which the model
name is returned (length < 32 characters).
serialNbr ViInt32 Serial number of the module.
busNbr ViInt32 Bus number of the module location.
slotNbr ViInt32 Slot number of the module location. (logical)
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
LabWindowsCVI/Visual C++ Representation
ViStatus status = Acqrs_getInstrumentData(ViSession instrumentID, ViChar
name[], ViInt32* serialNbr,
ViInt32* busNbr, ViInt32* slotNbr);
LabVIEW Representation
Acqiris Bx.lvlib: (or Aq Bx) Query Instrument ID.vi
Visual Basic .NET Representation
Acqrs_getInstrumentData (ByVal instrumentID As Int32, _
ByVal name As String, ByRef serialNbr As Int32, _
ByRef busNbr As Int32, _
ByRef slotNbr As Int32) As Int32
MATLAB MEX Representation
[status name serialNbr busNbr slotNbr]= Aq_getInstrumentData(instrumentID)
Programmer’s Reference Manual Page 25 of 210