LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Screen capture from MSO3034 via USB

Solved!
Go to solution

Thanks Ben64... I read the programmer manual and your are correct, the commands in my diagram exist in MSO7104A.  I just tried your correction and I'm still getting the same error code. I spend about two days trying to capture the screen of the scope. I'm lost and don't know what to do next... i'm stuck... i really need some help... thanks.

0 Kudos
Message 11 of 18
(1,587 Views)

For a DPO70000 scope I had done something different, maybe this is what you have to do for the MSO7104 (families 7000 and 70000 are closer than 7000 and 4000).

 

Basically what it does is copy the screenshot to a temporary location on the scope C: drive then use the file transfer function to copy it on the test computer. Finally it delete the screenshot from the scope drive. You have to take care not to use a to long name for the copy saved on the scope drive since it is limited to x characters (I don't remember the value). You can rename it when you save to the test computer.

 

Ben64

Message 12 of 18
(1,577 Views)

Hi Ben64

 

Thanks a lot for your help.  I tried the attached vi file and it does the same thing as the previous.  The error still occurs at "VISA Read to File" and I played with its "byte" count parameter (i.e., 1000, 512, 255, 1, etc) and its still doing the same thing. By the way, i cannot create the folder in the MSO7104A (i check the manual and played with the directory), so I just used the scope main drive "C:/"  of the scope.

 

 

0 Kudos
Message 13 of 18
(1,556 Views)

OK, I just realized that the MSO7104A is an Agilent product, not a Tektronix scope. The vi I posted were for Tektronix scope, the way to do it with the MSO7104A may be totally different.

 

Ben64

0 Kudos
Message 14 of 18
(1,553 Views)

Hi Jsimbul,

 

Here's a link to a Knowledge Base article on NI's website that describes the VISA Timeout Error you're receiving: http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0

 

One step I believe you should take is using the Bytes at Port property node in order to make sure that you are reading the correct number of bytes for your instrument, as attempting to read an incorrect number of bytes can definitely cause this error. You should also check the manual for your MSO7104A to make sure it supports whichever commands you are sending to it, as that could certainly also cause a timeout. 

 

Best,

Dan N

Applications Engineer

National Instruments 

 

0 Kudos
Message 15 of 18
(1,536 Views)

Hi,

Thank U all for such a clear discussion on the topic and for the Labview model too.

I run the model u suggested on Tektronix MDO3024 but it showing error.

Error from VISA Read to File

-1073807339

Source of Error:VISA Read To File in Untitled 1

0 Kudos
Message 16 of 18
(1,233 Views)

Hi,

 

I have tried ur model and its showing error -1073807339 VISA Read to file.

Any idea please?

 

0 Kudos
Message 17 of 18
(1,231 Views)

Hi Polisetti

 

Please try to use HARDCopy START  instead of HARDCopy START;

Just remove semicolon.

 

Benny

0 Kudos
Message 18 of 18
(933 Views)