# GetDaqDeviceInventory()

Detects USB, Bluetooth and Ethernet DAQ devices, and returns device descriptors of the detected devices.

This method 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 GetNetDeviceDescriptor().

Member of the DaqDeviceManager class.

## Function Prototype

VB .NET

public GetDaqDeviceInventory(ByVal InterfaceType As MccDaq.DaqDeviceInterface) As MccDaq.DaqDeviceDescriptor()

C# .NET

public DaqDeviceDescriptor[] GetDaqDeviceInventory(DaqDeviceInterface InterfaceType)

## Parameters

InterfaceType

Bit field that specifies the interface type of the detected DAQ device(s). All InterfaceType settings are MccDaq.DaqDeviceInterface enumerated constants. This field may contain any combination of the values listed in the InterfaceType parameter values section below.

DaqDeviceDescriptor

Information about the DAQ device. Each descriptor is a property of the DaqDeviceDescriptor() class. All DaqDeviceDescriptor settings are MccDaq.DaqDeviceDescriptor class properties. This field may contain any combination of the values listed in the DaqDeviceDescriptor class property values section below.

## Returns

- An ErrorInfo object that indicates the status of the operation.
- DaqDeviceDescriptor() device descriptors

### InterfaceType parameter values

Any | Any supported bus type.
Bluetooth | Bluetooth device.
Ethernet | Ethernet device.
USB | USB device.

### DaqDeviceDescriptor class properties

ProductName | A character array indicating the product name of the detected device.
ProductID | A number associated with the detected device.
InterfaceType | An MccDaq.DaqDeviceInterface enumerated constant that indicates the bus type of the detected device. Refer to the InterfaceType parameter values above.
DevString | A character array associated with the detected device. This value may be the same as the ProductName on some devices, but may contain more specific information on other devices.
UniqueID | A string identifier that indicates the serial number of a detected USB device, or the MAC address of a detected Bluetooth or Ethernet device.
NuID | Byte array indicating the numeric representation of the unique identifier of the detected device.