Detects USB, Bluetooth and/or Ethernet DAQ devices, and returns device descriptors of the detected devices.
This function detects Ethernet DAQ devices on the same subnet as the host PC. To detect Ethernet DAQ devices on a different subnet than the host PC, use cbGetNetDeviceDescriptor().
C/C++
int cbGetDaqDeviceInventory(DaqDeviceInterface InterfaceType, DaqDeviceDescriptor* Inventory, INT* NumberOfDevices)
Visual Basic
Function cbGetDaqDeviceInventory(ByVal InterfaceType As DaqDeviceInterface, ByRef Inventory As DaqDeviceDescriptor, ByRef NumberOfDevices&) As Long
InterfaceType
Bit field that specifies the interface type of the DAQ device(s) to be detected. This field may contain any combination of the values listed in the InterfaceType argument values section below.
Inventory
Pointer to a user-allocated array of DaqDeviceDescriptor types where the device descriptors of the detected DAQ devices are copied.
NumberOfDevices
Maximum number of elements that the Inventory argument can hold.
ANY | Any supported interface type. |
BLUETOOTH | Bluetooth device. |
ETHERNET | Ethernet device. |
USB | USB device. |