Download Agilent Technologies DC122 User manual

Transcript
2.3.9
Acqrs_getInstrumentData
Purpose
Returns some basic data about a specified instrument.
Parameters
Input
Name
instrumentID
Type
ViSession
Description
Instrument identifier
Output
name
Name
Type
ViChar [ ]
serialNbr
busNbr
slotNbr
ViInt32
ViInt32
ViInt32
Description
Pointer to user-allocated string, into which the model
name is returned (length < 32 characters).
Serial number of the module.
Bus number of the module location.
Slot number of the module location. (logical)
Type
ViStatus
Description
Refer to Table 2-1 for error codes.
Return Value
Name
status
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