02-17-2016 03:05 AM
Hi,
I'm using LabVIEW to communicate with Spectrum Analyzer Agilent E4404B/E4402B, with Agilent Driver to read trace and create graph according to that.
I get a Timeout error after a random time of operation, it can happen between 5 min to 4 hours and more (I mean that the LabVIEW is running and communicate with SA).
Everytime I get this error the Spectrum Analyzer is not coressponding at all. Can't shift it back to Manual mode and I have to unplug the power socket.
When i plug back the electrical power cable the Spectrum is ready to work again.
I know that I should probably post this question in Agilent forum, and I will, but i ask here one question:
Should I Flush the "GPIB Buffer"?
Please share with me any thougth you have, that may solve my problem.
Hadar.
02-17-2016 03:53 PM
02-17-2016 06:30 PM
02-17-2016 09:02 PM
02-17-2016 11:49 PM
Did you allready run NI-IOTrace to monitor the communication between your program and the instrument ? You should see there which command string exactly causes the timeout and this might give you an idea what has happened.
02-17-2016 11:56 PM
02-18-2016 12:47 AM
02-18-2016 12:53 AM
02-18-2016 09:28 AM
hadarszostak,
Which version of LabVIEW are you using? Also, I assume you are using an earlier version of LabVIEW if you are unable to create snippets. Can you take a simple screenshot of your code and post it to the forums? While not ideal, it will at least be helpful to see some of your code.
02-18-2016 01:39 PM