User manual

2.3.11 Acqrs_getNbrChannels
Purpose
Returns the number of channels on the specified module.
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
Output
Name Type Description
nbrChannels ViInt32 Number of channels in the specified module
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
LabWindowsCVI/Visual C++ Representation
ViStatus status = Acqrs_getNbrChannels(ViSession instrumentID, ViInt32*
nbrChannels);
LabVIEW Representation
Acqiris Bx.lvlib: (or Aq Bx) Query Number of Channels.vi
Visual Basic .NET Representation
Acqrs_getNbrChannels (ByVal instrumentID As Int32, _
ByRef nbrChannels As Int32) As Int32
MATLAB MEX Representation
[status nbrChannels] = Aq_getNbrChannels(instrumentID)
Programmer’s Reference Manual Page 29 of 210