03-01-2007 08:40 AM
I have an Agilent 8564EC spectrum analyzer connected over GPIB through the GPIB to ENET 100 box and I can communicate with it fine. However If the spectrum analyzer is shut off unexpectedly while it is being controlled over the GPIB the ibdev and ibfind commands hang. VISA hangs on startup, it won't go past the splash screen, and the NI Measurement Automation program hangs when I click on the GPIB 0 device. Once this happens I restart everything (Spec An, Converter Box, PC) and the problem still occurs. The only way I can fix this is by uninstalling the NI drivers and reinstalling them (Repair does not work).
Now what's also strange is that I have another pc connected on the network that can communicate to the specAn and those commands also hang when specAn is shut off unexpectedly. However the drivers only have to be reinstalled on one of the PCs to get it to work again. Does anyone know a solution to this?
03-02-2007 08:35 AM
After looking at the problem some more, it appears the GPIB is stuck as a listener as the listen light on the GPIB to ENET box remains on. It now appears to work if the ENET box is turned off and back on. Does anyone know how to do this programmicly? All the commands I have found need to use ibdev or ibfind.
03-03-2007 12:21 PM
Hi snydesc,
Unfortunately, there is no way to reset the GPIB-ENET/100's programmatically when you lose access to the device itself. I can certainly see how this would be troublesome for youin this instance if no-one is nearby to reset the device manually. What seems to be causing your instrument to lose power?
03-05-2007 12:53 PM
Hello Syncdesc,
Will sending the command ibsic do the trick? In the documentation it says that it unaddresses everything on the bus. Perhaps it will unaddress itself as listener as well.
-Lamb
03-06-2007 04:35 PM