07-11-2011 03:47 PM
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!
Solved! Go to Solution.
07-11-2011 06:09 PM - edited 07-11-2011 06:16 PM
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.
07-11-2011 06:13 PM
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.
07-11-2011 06:19 PM
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
10-25-2011 02:39 PM
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
10-25-2011 04:32 PM
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?
10-25-2011 05:43 PM
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
10-25-2011 07:26 PM
10-26-2011 10:16 AM
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.
10-27-2011 02:24 PM
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,