LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tds2012

How to use LabVIEW to control the oscillograph(TDS2012, Tektronix)?
0 Kudos
Message 1 of 21
(4,509 Views)
Download the labview driver from
 
 
Follow the installation instructions. There is a Getting Started vi supplied under the Application Examples palette.
 
You will need some way of communicatiing with instrument. The most common is using a GPIB interface. The other methods will be RS232, USB or Ethernet but that will depend on the communications option when you purchased the scope.
 
Hopefully this will get you started.
 
David
 
Message 2 of 21
(4,491 Views)

sorry, I followed the instructions, but I can not run the Getting start vi, the error is :1073807339 occured at VISA read in tktds1k2k initialize.vi

possible reason is  hex 0xbff0015 time out, I do not know how to do?thanks

0 Kudos
Message 3 of 21
(4,483 Views)
How do you have the scope connected to the pc?
0 Kudos
Message 4 of 21
(4,480 Views)
Two ways, one is using the RS232, another is using the USB(convert the RS232 to USB)
0 Kudos
Message 5 of 21
(4,473 Views)
I guess you should check what com port you use..
or may be before you run the vi, use NiMAX to check the connection.
------------------------------------------------------------------
When you feel sad, laugh
0 Kudos
Message 6 of 21
(4,467 Views)
I have used NiMAX to check the connection, and it find it was OK at COM6. but the error message appear again when I run the Getting Start vi,  I used LabVIEW6.1 and  installed VISA3.2. can you give me a example vi to connect it?thanks
0 Kudos
Message 7 of 21
(4,461 Views)
dhfan
 
Take a look this image of the Getting Started.vi.
 
 
At the top left there is combo box style control for the VISA Session. Click on that and select COM6 for your serial port and try running the Getting Started.vi again to see if it works.
 
David

Message Edited by David Crawford on 05-10-2006 07:14 AM

0 Kudos
Message 8 of 21
(4,456 Views)
I have selected COM6, when click the Run menu, it will appear a error dialogue after several seconds. see the attached jpg.
0 Kudos
Message 9 of 21
(4,451 Views)

OK. It could be a couple of things

1. You don't have the optional communications TDS2CMA module fitted to the rear of your scope. It has an RS-232, GPIB and Centronics connectors.

2. You are using the wrong type of RS232 cable connection. You can get straight through and cross over cables. This affects Pins 2 and 3 of the cable.

As far as I can see the driver is setup to use the correct baud rate which is 9600. I have just checked one of the 1012 scope here and its default is 9600 also. The manuals are pretty good with these instruments. Have you read the manual supplied with the scope on how to get it up and running using remote control?

David

0 Kudos
Message 10 of 21
(4,443 Views)