How can I get MAX to scan for instruments on bootup?

I would like to setup MAX (or whatever SW component) to scan for GPIB instruments each time the computer is booted up. I've had one strange case where MAX somehow "lost" it's GPIB instrument configuration and the only way to recover was to manually start MAX and do a scan for instruments. I already do this for the VXI resource manager.
PS - I see the VISA configuration file, visaconfig.ini, has an "AlwaysRefresh" option line. Is there anyway to set this short of a direct edit?
Thanks,
Ed Perkins

Scott - If I understand you correctly I should be able to do the following:
1. Disconnect the IEEE-488 cable from my computer.
2. Manually start MAX and tell it to scan instruments (which it will find none).
3. Plug the IEEE cable back in and re-run my application (it uses VISA to control both IEEE-488 and VXI instruments) successfully.
Correct?
What prompted this thread was one strange event. After successfully running our app the previous night (and leaving everything powered up) the app failed all IEEE calls the next morning. When we went into MAX it mysteriously showed no IEEE instruments. Nothing solved the problem (computer reboots, etc.) until we forced MAX to do an instrument refresh. Perhaps something else did go on, but I thought
running MAX and forcing an instrument refresh on each boot-up (much like running the VXI Resource Manager) would be a prudent prevention approach, especially since the station operators don't even know about MAX.
Thanks,
Ed Perkins

Similar Messages

Maybe you are looking for