User manual

2.3.14 Acqrs_init
Purpose
Initializes an instrument.
Parameters
Input
Name Type Description
resourceName ViRsrc ASCII string which identifies the module to be
initialized. See discussion below.
IDQuery ViBoolean Currently ignored
resetDevice ViBoolean If set to 'TRUE', resets the module after initialization.
Output
Name Type Description
instrumentID ViSession Instrument identifier
Return Value
Name Type Description
Status ViStatus Refer to Table 2-1 for error codes.
Discussion
You should refer to the Programmer’s Guide section 3.2, Device Initialization, for a detailed explanation
on the initialization procedure.
The function returns the error code
ACQIRIS_ERROR_INIT_STRING_INVALID when the initialization
string could not be interpreted.
LabWindowsCVI/Visual C++ Representation
ViStatus status = Acqrs_init(ViRsrc resourceName, ViBoolean IDQuery, ViBoolean
resetDevice, ViSession* instrumentID);
LabVIEW Representation
Acqiris Bx.lvlib: (or Aq Bx) Initialize.vi
Visual Basic .NET Representation
Acqrs_init (ByVal resourceName As String, ByVal IDQuery As Boolean,_
ByVal resetDevice As Boolean, ByRef instrumentID As Int32) As Int32
MATLAB MEX Representation
[status instrumentID] = Aq_init(instrumentID, IDQuery, resetDevice)
Programmer’s Reference Manual Page 32 of 210