03-18-2008 02:30 PM
Should you add "\n" after the "?". Just a thought..
Curt
03-18-2008 02:50 PM
Kurt,
I have tried adding additional termination, but I do not remember exactly if I tried just plain old \n. I will try this tonight, good suggestion.
Thanks
Diego
03-18-2008 03:10 PM - edited 03-18-2008 03:14 PM
Hi,
03-18-2008 04:57 PM
Ray,
03-20-2008 08:15 AM
I finally solved the problem. Bottom line is that the 34401 was never going into Remote mode. I have yet figure out how, but I do have a solution.
Using 488.2, I added the EnableRemote command.. Or in 488, send the *REM command. Both commands put the 34401 in Remote mode and will not accept Measurements Queries. Why it does, however, accept other queries such as *IDN? and not measurements, I am not sure.
Also, I am not sure, nor is Agilent, why it is only the 34401 that has this issue when I have several other intruments on the bus.
For the hell of it, and since I do have a duplicate system, I installed an NI GPIB on the duplicate system with their drivers. I then ran my code without the above changes and it worked just fine. This leads me to believe there is something unique with the Measurement Computing GPIB card and or their drivers.
Regardless, the issue is solved and I really appreciate all of your commends and suggestions.
Diego