LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDS3034 capture: failed drawing

I'm a LabVIEW novice and was using a program to capture screen shots from my TDS3034 scope via GPIB.
 
However, suddenly the .VI stopped working and started producing 'drawing failed' when I open the .tiff image. As far as I know I didn't change anything.
 
All I want is to take a simple capture from the oscope and save the picture on my computer. Can anyone speculate what could be wrong in my code (code attached)? It's someone else's code from work that I just modified a bit for my purposes, once again, it worked fine for a while and then stopped. I don't think I changed anything in the mean time.
 
btw, running LabVIEW 7.1
 
 
0 Kudos
Message 1 of 4
(3,364 Views)
The file you attached is using NIScope functions and as far as I can tell, has nothing to do with a tek scope connected via GPIB.

Message Edited by Dennis Knutson on 12-21-2006 02:02 PM

0 Kudos
Message 2 of 4
(3,358 Views)
ugh, sorry. This is the correct file:
 
 
0 Kudos
Message 3 of 4
(3,346 Views)
Here's something that you can try. It uses VISA instead of the old GPIB functions and has correct dataflow and error checking. On the front panel, click on the arrow on the right side of the VISA Resource Name and select the resource for your scope (i.e. GPIB0::1::INSTR and run it. Check the return count from the VISA Read and make sure that the number is less than the number of bytes requested. If you get the same number, you may not be getting the entire file.
0 Kudos
Message 4 of 4
(3,342 Views)