The USB-8451 is a VISA Resource and appears in Measurement & Automation Explorer (MAX) in the USB Devices section. It is assigned a standard VISA resource descriptor. This allows you to use the VISA Find Resources VI in LabVIEW to determine if the USB-8451 is present in the system. An example can be seen below:VISA Resource Descriptor for USB-8451 Device:
The fourth component in this resource descriptor (0010AE74 in the example above) is the device serial number, so you need to ignore this when searching for resources. You also want to allow the flexibility for the device to be found on another USB interface, so we want to ignore the 0 in the first section of the resource descriptor. To do this, you should use the following string, where "?*" represents an unknown sequence of characters:Search Expression to Locate USB-8451 Devices:
The figure below illustrates how the VISA Find Resource VI can be used to locate USB-8451 devices. The output is an array of strings, so it will be necessary to index the array to select the desired USB-8451 if more than one if present on the system. The return count output can be used to easily determine if a device was located in the system.