Advanced Function
Get the List of Available Devices

 

Find the available devices and get the device ID and device name

There is a VI for each device category

 


Layout of IN/OUT terminal

 

VI for analog devices [AioQueryDeviceName_i.vi]

 

 

VI for digital devices [DioQueryDeviceName_i.vi]

 

 

VI for counter devices [CntQueryDeviceName_i.vi]

 


OUT terminal

DeviceList

Detects usable devices and outputs them with a two-element array

Element 1: Device Name (DeviceName)

  Device name of the detected device
  e.g.: DIO000

Element 2: Device Model (Device)

  Device model of the detected device
  e.g.: DIO-1616L-PE

*Since there is a single empty array even when there is no available device,
  the output array size is [number of detected devices + 1]