User manual
2.3.8  Acqrs_getDevTypeByIndex 
Purpose 
Returns the deviceType which indicates which family of API functions can be used. 
Parameters 
Input 
Name Type  Description 
devIndex  ViInt32  Device Index (the integer part of the resource name as 
used in Acqrs_initWithOptions. See the 
Programmer’s Guide section 3.2.1) 
Output 
Name Type Description 
devTypeP  ViInt32*  Pointer to a device type (see AqDevType) with 
1 = Digitizer (AcqrsD1) 
2 = RC2xx Generator (AcqrsG2) 
4 = TC Time-to-Digital Converter (AcqrsT3) 
Return Value 
Name Type Description 
status ViStatus Refer to Table 2-1 for error codes. 
LabWindowsCVI/Visual C++ Representation 
ViStatus status = Acqrs_getDevTypeByIndex(ViInt32 devIndex, 
 ViInt32* devTypeP); 
LabVIEW Representation 
Acqiris Bx.lvlib: (or Aq Bx)Query Device Type By Index.vi 
Visual Basic .NET Representation 
Acqrs_ getDevTypeByIndex (ByVal devIndex As Int32, _ 
        ByRef devType As Long) As Int32 
MATLAB MEX Representation 
[status devType]= Aq_getDevType(devIndex) 
Programmer’s Reference Manual    Page 24 of 210 










