Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

please HELp i have to aquire a waveform from TEKTRONIX TDS220 using RS232

please can anyone help me to aquire a waveform coming from a TEKTRONIX TDS220 with a RS232 communication
this is my VI..
 
Message 1 of 3
(5,807 Views)

Your VI is missing TKTDS2XX Initialize. You have to run that first in order to set up the com port and the termination character. Your scope also has to be set for the same com settings. I would also suggest you first try talking to the scope with Hyperterminal. If you get that to work, then you know the com settings and the serial cable are correct.

You might also want to think about cleaning up your wiring. With only two functions, there's not much excuse for what you've done.

Message 2 of 3
(5,802 Views)
The following is direct from the TDS 200 series programming manual at tek.com.


Transferring Waveform Data From the Oscilloscope:
Data transfer times depend on data format data width and the speed of the controller. To transfer waveforms from the oscilloscope to an external controller, do the following steps.

1. Use the DATa:SOUrce command to select the waveform source.
2. Use the DATa:ENCdg command to secify the waveform data format.
3. Use the DATa:WIDth command to specify the number of bytes per data point.
4. Use the DATa:STARt and DATa:STOP commands to specify the portion of the waveform that you want to transfer.
5. Use the WFMPRe? command to transfer waveform preamble information.
6. Use the CURVe? command to transfer waveform data.

Also, have you downloaded the LabVIEW driver from ni.com and looked at the examples? There is an example titled "Tektronix TDS 200 1000 2000 Series Acquire Waveform.vi" that seems to be close to what you are trying to do.
Message 3 of 3
(5,800 Views)