Verify my system is working properly
If your device is not present in the system view in MAX, NI-VISA did not detect it. Remember that you must add the following types of devices to the system manually, using the Add Device wizard:
- All TCP/IP resources
- All Ethernet-based converters (for example, GPIB-ENET and Serial ENET)
- All VME resources
- GPIB-VXI controllers at locations other than primary address 1, secondary address 0
For VXI systems, you may also need to run the Resource Manager if you do not have it configured to run automatically.
If NI-VISA or the VXI Resource Manager detected any errors, the device icons are marked accordingly. To find out what is wrong, go to these marked devices and view the Troubleshooting information in the General tab.
After you are satisfied that MAX detected all your devices, you can test access to them. The Open VISA Test Panel command creates a session in the VISA Interactive Control and allows you to establish basic communication with your devices. How you test communication with a device varies. You can read the registers of VXI or PXI devices to establish contact. Many GPIB, VXI, and Serial devices respond to the *IDN? string, which you can send to a device using viWrite(). This 488.2 command queries for the identification string of a device that is returned through viRead().
See also See my GPIB devices and See my VXI devices.