What Do I Do with a Max Timeout Error with Info Code Maxvisatimeouterror?

Updated Dec 15, 2017

Reported In

Software

  • Measurement and Automation Explorer (MAX)

Issue Details

When expanding Devices and Interfaces or selecting some other option in Measurement & Automation Explorer (MAX), I get a MAX Timeout Error with the following message:

MAX timed out while waiting on a driver.

This message also contains the info code MAXVISATimeoutError.

How can I resolve this?

Solution

There are a few possible ways to resolve this issue.
  • Make sure all network VISA devices (such as TCP/IP resources) are all connected and running. VISA will try to communicate with all network VISA devices, and it may take awhile for this communication to timeout on a particular device. If there are multiple disconnected devices, these timeouts can add up, causing MAX to timeout.
  • In addition to network VISA devices, configuring VISA to automatically search for resources on remote systems may cause VISA to timeout if the remote systems are offline. To see which systems VISA is configured to automatically search, in MAX navigate to Tools»NI-VISA»VISA Options. Select the Remote tree item. Remove remote systems that are offline and systems whose VISA resources you do not need.
  • ​If you are not using any GPIB-VXI devices, try disabling the VISA GPIB-VXI Passport. In MAX, navigate to Tools»NI-VISA»VISA Options. Select Passports, and deselect NiViGpvx.dll.
  • Your MAX configuration database may have become corrupted. If you are using Measurement & Automation Explorer (MAX) 5.0 or later, you can fix this by navigating to Tools»Reset Configuration Data. Be aware that this will remove any tasks, virtual channels, etc. that you have saved in MAX. If you are using an earlier version of MAX, here is the process for removing MAX database corruption.
If the above steps did not resolve the issue, try the following only as a last resort.
  • visaconf.ini stores various VISA configuration, resource, and alias information. Resetting this file may remove configuration settings that could cause a timeout. On Windows XP, this file is located at <Documents and Settings\All Users\Application Data>\National Instruments\NIvisa. On Windows Vista and later, this file is located at <ProgramData>\National Instruments\NIvisa
    Close MAX, then rename this file to visaconf.ini.bak to backup the existing configuration. Re-open MAX and expand Devices and Interfaces. This will re-create visaconf.ini. If re-creating the .ini file did not help, you can revert to using your backup visaconf.ini.

WAS THIS ARTICLE HELPFUL?

Not Helpful