To test communication with VISA Interactive Control (VISAIC), follow these steps:
If you select your USB device, the USB Settings window displays the device information. You can use this information to access device information such as the manufacturer ID, model code, and serial number.
According to the USBTMC specification, all USBTMC devices must have a serial number. Some USB RAW devices may not have serial numbers. If your device does not have a serial number, NI-VISA automatically assigns a VISA-specific serial number for the device. The serial number format is NI-VISA-#, where # is an automatically generated number.
Some USB devices have multiple interfaces. This is similar to the way a PCI device can have multiple functions. If your device supports only one interface, you do not need to include the USB interface number.
The DAQPad-6020E uses the RAW class, and the manufacturer code and model code are 0x3923 and 0x12C0, respectively. For the DAQPad-6020E, the instrument descriptor is USB0::0x3923::0x12C0::00B50DAE::RAW.
To test communication with this device, open MAX. Select Tools»NI-VISA»VISA Interactive Control. The following figure shows the VISAIC window.
When you open a VISA session with VISAIC, the Configuration page is displayed. The Configuration page contains all of the attributes that can be configured or set for the opened resource. The attributes are grouped together by category and separated into tabs. Open the View Attributes tab if you want to view all of the attributes for the selected resource.