10-04-2010 08:29 AM
Hello,
I have to capture a screen shot for Agilent's Spectrum analyzer, ESA series. But Whenever i run the program i always get time expired before operation is completed. I am attaching the program and also screen-shot of program. If anyone can solve this problem i would be very glad.
Thanking you all...
Pals
Solved! Go to Solution.
10-04-2010 06:40 PM
How many bytes are you tring to read and have you tried increasing the timeout?
10-05-2010 02:40 AM
Hi,
I tried to increase the time out but it didnt work. i am trying to read 1 byte at a time... So is it ok?
Thanks so much....
10-05-2010 04:38 AM
Hi,
Here is the attached file which says how to program and say same thing...
10-06-2010 02:28 PM
Actually, that doesn't say the same thing, at least as far as the actual transfer is concerned. In that VB code it's not reading one byte initially to get the number of bytes, and then reading that many bytes. So, you must have gotten that information from somewhere else. What I've usually seen in these kinds of transfers is that the first byte is just a marker, then you get 2 bytes to indicate how many digits will follow to indicate the number of bytes of data. Somewhere else in that manual it should have the exact structure of the data that is being returned by the instrument.
10-12-2010 08:59 AM
Hello All,
I am getting screen-shot but i always get same screen-shot. I never get current screen-shot. So where is the problem i dont know...... Hope anyone can tell the problem...
Thanks a lot....
pals
10-14-2010 10:11 AM
Hello All,
I got the solution... we have to add MEMM:DEL function at the end... And time bet two screen-shot must be more than 10 mins then it gives Current screen-shot...
Thanks so much...
Pals
11-28-2013 04:40 AM
Hi,
I am creating a similiar program, but I have a problem with my ESA. It takes about 20 sec. to save the image on the ESA's hard disk after command: ":MMEM:STOR:CSR 'C:tmpimage.gif' " . Is there any possibility to make it faster?
Piotr
12-10-2013 09:59 AM
No the ESA is a very slow instrument. The CPU is very underhorsepowered. Only thing faster would be to dump the trace data and recreate the plot in Labview.