NI-VISA Ethernet Instrument Disconnects When Restarting NI MAX

Updated Aug 8, 2018

Reported In


  • Measurement & Automation Explorer (MAX)



Issue Details

I have configured a TCP/IP instrument in NI Measurement and Automation Explorer (MAX), which is working correctly. I can open a VISA Test Panel and I see it in the Network Resources tab as connected. Nevertheless, if I close NI MAX and open it again, the instrument shows up as disconnected (gray with a red "X" icon). I can validate the connection and see the Web Page, but NI MAX will not let me open a VISA Test Panel. Why does this happen and how can I fix it?


Try the following steps until you see your instrument connect successfully after closing NI MAX and opening it again:


  1. Reset the NI MAX database. Follow the steps in the document: How to Fix or Reset the NI MAX Database File
    1. It is recommended to backup the NI MAX database before resetting it, so you make sure your resources and tasks are saved as you have configured them. Follow the following document for this process: Export/Import the System Configuration in Measurement & Automation Explorer (MAX)
  2. Force-reinstall NI-VISA. You can follow the next steps to do this: Force Reinstall Non-Working or Corrupt NI Software
  3. Make sure your firewall and anti-virus are not blocking NI MAX or the TCP/IP ports used for your instrument.
  4. Run NI MAX as administrator. Right click over the NI MAX shortcut and select Run as Administrator.
  5. Check if the NI visa32.dll is the primary script for the VISA driver. Follow the steps located in: After Installing 3rd Party VISA Software NI VISA No Longer Works
  6. Capture an NI I/O Trace of the VISA calls being made when you add your instrument to NI MAX and when NI MAX restarts: Performing a Good NI I/O Trace Capture for Debugging/Troubleshooting and contact National Instruments.

Additional Information

This error can happen because of the visa32.dll being corrupted or not installed by National Instruments. It can be seen when the computer has installed VISA software from third-party vendors.


Not Helpful