06-06-2014 07:19 AM
06-08-2014 08:21 PM
Thx for ur reply man, but I'm still in trouble, the same timeout error is still there.
I'm comforting myself that it may be a instrument problem...
I see your post a few years ago http://208.74.204.114/t5/LabVIEW/GIF-file-import/td-p/1734254
But no matter what I tried, it gave me the same error.
BTW, what should I write in the write path. I write like 'C:\1.GIF', is it OK?
06-08-2014 08:32 PM
In my experience, it's rarely the instrument. Unfortunately, it usually does exactly what we tell it to do. Or in this case, we're probably not telling it to do something correctly.
06-08-2014 08:36 PM
OK, man.
Can u tell me what the problem is?
I attached the file file before, I am really crazy
06-09-2014 02:50 PM
The problem is probably not related to the screen capture part of the code (you're reusing code that work for others).
Try this to begin with:
1- Remove the while loop (it doesn't make sense to configure everything and overwrite the saved capture every iteration of the loop )
2- Set the continuous sweep mode to false
3- Add a 3-5 second wait before the screen capture part of the code.
My feeling is that the equipment is still processing previous commands. You can also use the VISA Set Timeout function to increase the value of the timeout.
Once the screen capture is working have a look at what you could do to improve your code.
Ben64
02-21-2023 10:50 AM
Hi,
I was facing similar issue of reading of the Screen Shot which was saved on E4440, the default documented command was always giving time out error.
i tried with C:/K1.GIF"
NOTE i have used FORWARD SLASH and i could get the image data to the control PC.
Hope it works for you too.