LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tektronix DPO 5034 Port Scope Image to PC

Solved!
Go to solution

Hello,

 

I am trying to port a saved scope image on the Tektronix DPO 5034 scope to a user specified path on the PC using LabVIEW and USB port.

 

I am successful in saving the image to the scope (can find the file in the local scope hard drive), but am unable to port the image to the PC using USB.

 

Please see attached block diagram of my current progress.

 

Is there a specific command I am missing? The USB address is:

 

USB0::0x0699::0x0500::C010188::INSTR

 

Thanks!

Download All
0 Kudos
Message 1 of 11
(5,990 Views)
Solution
Accepted by topic author newbie217x

I am not familiar with that scope. But for other similar Tek scopes what you do is save the image to the scope drive like you are doing. Then you use the file copy to send it to the gpib port. I use the hardcopy command and save the image to c:\temp\screen.png on the scope. Then the command I use to copy it to the gpib port is: FILES:PRI "c:/temp/screen.png", gpi. I then do a visa read.

Edit: I don't know how the smiley got there. Trying again. Replace the _colon_ below with an actual colon.

 

files_colon_pri "c:/temp/screen.png", gpi

 

One more edit: I had trouble using visa read to file. I ended up just using a visa read and writing that to a file using the file functions. It was a very long time ago and I don't remember the problem with read to file but I was probably doing somehting stupid. I was just learning when I wrote that vi.

=====================
LabVIEW 2012


Message 2 of 11
(5,976 Views)

Thanks Steve.

 

That turns out to be the solution (FileSystem Print), and my problem was that I did not specify the full path of the image (on the tekscope).

 

Please see the included image that fixes this problem.

 

Hope this helps anyone else who is having this problem.

 

0 Kudos
Message 3 of 11
(5,972 Views)

You are very welcome. You can use the forum options to mark the answer as the solution. That can be very useful in the future. Plus my solutions count goes up. And since you can't give me a beer over the Internet yet I will settle for a kudo Smiley Happy

=====================
LabVIEW 2012


Message 4 of 11
(5,968 Views)

I installed the Tektronix 4034B driver from NI, IVI shared components, IVI compliance package and NI-VISA 5.1.1. My PC does not recognize the scope through the USB port. What is missing here?

 

Thanks

 

JK

 

Driver Identification:
---------------------
 
Driver Revision:                         4.0.0

Driver Vendor:                           National Instruments

Prefix:                                  tkdpo4k

Description:                             Digital Phosphor Oscilloscope


Hardware Information:
--------------------

Instrument Manufacturer:                  Tektronix

Supported Instrument Models:           DPO4034B,

Supported Bus Interfaces:                 GPIB, Serial, TCP/IP

 

32-bit Software Information:
--------------------
Supported Operating Systems:     , Windows 7 32,

Support Software Required:            VI Compliance Package 4.2, VISA 5.1.1

0 Kudos
Message 5 of 11
(5,861 Views)

Instead of hijacking an unrelated (and solved) thread. You should have started a new one.

 

Do you have USB enabled from the scope's utility menu? Are you plugged into the USB Device port and not the host port?

0 Kudos
Message 6 of 11
(5,854 Views)

I did everything stated in the manual.

When Tektronix OpenChoise Desptop PC Communication SW is installed, PC talks with the scope.

But with NI-VISA, it seems like messed up.

If I want to use LabView or LabWindos/CVI, the scope should work with NI-VISA.

 

When the VISA attempted the initial communication, an error message was received.

 

Thanks for the help.

 

JK

0 Kudos
Message 7 of 11
(5,843 Views)
And why didn't you provide the error message?
0 Kudos
Message 8 of 11
(5,837 Views)

The error message was:

 

 

VISA error code:

 

0xBFFF009E (VI_ERROR_LIBRARY_NFOUND)

 

Description of code:

 

viOpenDefaultRM returned 0xBFFF009E (Error - A code library required by VISA could not be loaded)

 

Please make sure VISA is properly installed on this system.

0 Kudos
Message 9 of 11
(5,826 Views)

Hi Cascade,

 

In order to give the best possible assistance, it is much better to open a new discussion forum when an issue is different or the post is already answered.

In your case, I found a KB here that describes the issue that you are having, as you are able to communicate with the device it is installed and recognized by your computer, so I think that you have problems with the VISA installation. Please follow the instructions in the KB above and if you still have the same problem, I will recommend you to post a new discussion forum.

 

Hope this helps!

 

Regards,

steve.bm
AE | NI
0 Kudos
Message 10 of 11
(5,804 Views)