Exploring Tektronix TDS 340 100MHz digital storage oscilloscope

4.00 avg. rating (84% score) - 1 vote

Out of curiosity, I purchased a Tektronix TDS 340 100 MHz 2-channel digital storage oscilloscope from eBay. It passes self-test at startup and is able to show the 1kHz square wave calibration signal on both channels nicely:

The first thing on this oscilloscope that captures my attention was the faceplate on the top right of the device. This is for the 1.44MB 3.5″ floppy disk drive, featured in the TDS 340A, which probably shares the same enclosure design with the TDS 340. However, don’t expect to remove the faceplate and connect a PC floppy drive, or even a floppy drive from another TDS 340A, into the TDS 340 because the floppy drive interface board is not present on the TDS 340.

This oscilloscope supports up to 500MS/s sampling rate and has a memory of 1000 samples. Two internal memory slots, REF1 and REF2, are available for user to store waveform data for manipulation. It also supports external trigger, delayed timebase and some math operations on the input signal. Overall, it is good enough for most of my hobbyist micro-controller and analog projects.

The only thing I do not like about this oscilloscope is the AUTOSET feature. Among other things, it will set the acquisition mode back to 16-point average, instead of sampling. This causes a slower signal display, which is apparent when signal is removed from the probe – it will take a few seconds for the trace to update completely as the data points from the previous signal are still in the oscilloscope memory.

Fast Fourier Transform (FFT)

You can also perform FFT on the input signal and see the frequency components using the MATH menu. The following is the FFT of the 1kHz calibration signal:

Using the CURSOR menu, I am able to measure the first FFT peak of 1kHz, the fundamental frequency of the signal, and the harmonics frequencies. A good revision on FFT and signal theory which I learned back in my university days. :)

As I noticed, the FFT output on this oscilloscope is pretty noisy, compared to the smoother FFT waveform generated by the Rigol DS1052E of the same 1kHz signal:

Why is this the case? I leave this as an exercise for the reader. A hint is that the TDS 340 supports only average acquisition mode when FFT is used whereas the Rigol supports all acquisition modes (normal, average, peak detection) even with FFT enabled and has other menus to configure FFT window and sampling options.

Installing the Option 14 interface card

To be able to transfer the captured signal data to a computer for manipulation, I decided to purchase an Option 14 interface card from eBay and install it in the oscilloscope. This card features a parallel printer port, a male DB9 RS-232 serial port, a 9-pin female VGA port and a GPIB interface port:

The card has a 50-pin IDC male port used for communication with the oscilloscope and a 6-pin cable for video output. Although Option 14 boards can be safely interchanged between TDS340A, TDS340 and other similar models, some cards, especially those meant for the TDS 340A and later generations, also have another power cable that must be connected to a dedicated socket in the oscilloscope power supply. This is to provide power for some supported portable printers as seen in the photo below (notice the power socket):

If these boards are used in the TDS 340, the printer power supply cable should be left unconnected.

When purchasing a used Option 14 card, make sure it comes with the necessary cables. Mine came with the video cable but not the 50-pin cable. Luckily my 50-pin SCSI single-drive IDC female-to-female cable worked just fine. If you have to use a SCSI cable like what I did, make sure that the cable is single-drive and has no built-in terminators or other circuits to set the SCSI device ID, which may interfere with the communication and cause unexpected problems. The cable will need to be at least 40cm long to connect to the mainboard.

The edges of the GPIB port make it impossible to fit the card into the back of the oscilloscope that has horizontal metal bars. I need to cut the bars for the card to fit in:

Although the IDC cable is keyed to prevent wrong insertion, the video cable is not. However, during my experiment, inserting the video cable in the wrong direction will simply stop the VGA port from outputting video without any other long-term effects – all I need to do is reinserting the cable correctly. Obviously, don’t leave the cable incorrectly connected for extended period. The pictures below show how to correctly connect the video cable (notice the colors of the individual wires) and the IDC cable:

VGA output from the Option 14 card

After installation, reassemble the oscilloscope, power it on to make sure that it still passes self-test and press the HARD COPY button. If the card is detected, after a short while, you will see an error message “Hardcopy device not responding” instead of the usual information on how to install the hard copy interface:

The next test is to see if the VGA port on the card is working well. Page 144 of the TDS 340 technical reference provides the pinout for the DB9 VGA port:

This is the pinout for the more common 15-pin VGA port, used in most modern devices:

I made an adapter with the following pin configuration to be able to feed it into a standard VGA monitor:

  • Pin 2 of Option 14 DB9 VGA port (Video) connected to pin 2 (Green video) of VGA connector.
  • Pin 1 (Red video) and pin 3 (blue video) of VGA connector must be grounded.
  • Pin 4 of DB9 VGA port (Horizontal Sync) connected to pin 13 of VGA connector.
  • Pin 5 of DB9 VGA port (Vertical Sync) connected to pin 14 of VGA connector.
  • Pin 6,7,8 of DB9 VGA port (Ground) connected to pin 5,6,7,8,10 of VGA connector.
  • Pin 11 (Monitor ID) of VGA connector must be grounded. This indicates a 640×480 low-resolution VGA output and reduces the need to send monitor information via I2C using the DDC SDA and DDC SCL pins.

This is the back of the oscilloscope with the Option 14 card installed and the VGA adapter connected:

This is the VGA output on my 24-inch LCD monitor:

Using the hard-copy feature

With the Option 14 card installed, the oscilloscope supports sending a capture of the current oscilloscope display, known as hard copy, via any of the following methods:

  • Printing to common parallel/serial printers at the time
  • Sending raw image data via RS232 or GPIB
As I do not have any of the supported printers or a device with a GPIB port, I can only test the hard copy feature via RS232. To try this, press the UTILITY button, choose System I/O from the bottom left menu, select RS-232 for Hcp Port and configure the proper serial settings in the RS-232 bottom menu. Disable “Hard-flagging” (refers to serial hand shaking via the dedicated lines) and “Soft-flagging” (refers to XON/XOFF software handshaking) as they are just going to cause problems.

You can configure the output file format in the Hcp Format menu. The TDS 340 supports BMP, TIFF, PCX, PostScript (PS) and Interleaf image formats. Except for Interleaf which I couldn’t find a viewer for, the rest of the file formats are readable on the PC by most modern document viewers.

You will need a cross-over serial cable and a computer with a serial port to receive the hard copy data. A USB to serial converter should work just fine as the data transmission does not rely much on the latency of the serial connection or the exact output voltage.

In my tests, I use Realterm to capture the serial data sent once the HARDCOPY button is pressed. At the maximum RS232 speed of 19200bps on the TDS 340 (the TDS 340A supports a higher speed of 38400bps), it takes almost 20 seconds to transfer the 37.5KB 640×480 monochrome bitmap image produced by the oscilloscope. The image size reduces to approximately 18KB if PCX is used. The following is a monochrome bitmap produced by the hardcopy feature, optimized for printing:

To avoid having to rotate the image on your computer, the Hcp Layout option should be set to Portrait.

Downloads for TDS 340A, TDS 360 & TDS 380 oscilloscopes:

User Manual
Technical Reference
Programmer Manual
Service Manual 

See also:

Programming the Tektronix TDS 340 100MHz digital storage oscilloscope
Calibration and acquisition problems on Tektronix TDS 340 oscilloscope
Rigol DS1054Z, GW-INSTEK GDS1054B and Hantek DSO4084C digital oscilloscopes

4.00 avg. rating (84% score) - 1 vote


A tough developer who likes to work on just about anything, from software development to electronics, and share his knowledge with the rest of the world.

15 thoughts on “Exploring Tektronix TDS 340 100MHz digital storage oscilloscope

  • April 9, 2015 at 3:05 pm

    bonjour j’ai le m??me oscilloscope le mien n’a plus de tube cathodique hs je l’utilise avec un ??cran de pc via la sortie vga qui est derri??re .
    merci pour ces explications sur cette oscilloscope

  • February 3, 2016 at 3:56 am


  • November 3, 2016 at 1:56 am

    Hi! Can you explain how to configure and use RealTERM in order to grab and save hardcopy from the TDS340A?

  • ToughDev
    November 8, 2016 at 4:32 pm


    Sorry for the late reply. The Hardcopy feature simply sends the bitmap data via the serial port. Just make sure that the serial settings (baud rate, parity, etc.) on both the oscilloscope and your terminal application (such as Realterm) are the same and choose to receive incoming files as raw/binary data on the PC. It will work and you can save the received file as bitmap or other formats selected on the oscilloscope hardcopy settings. Make sure you do not select a serial protocol such as Kermit or XMODEM/YMODEM/ZMODEM when receiving files as it will not work properly.

    Hope this helps.

  • May 24, 2017 at 2:58 pm

    You’re supposed to unscrew the two nuts holding the GPIB connector shell in place, lift that off and then install the option board in the scope, then reinstall the GPIB shell. There is no need to mutilate the back of the scope by cutting out the bars!

  • ToughDev
    May 25, 2017 at 10:55 am

    Perhaps this was something that I overlooked when working with this scope. I did check but could not find any easy way to remove the bars, hence the need to cut them away. Thanks for sharing. :)

  • January 8, 2018 at 3:14 am

    Simply outstanding overview! Major timesaver with the helpful hints. Also the comments that point out the subtle, but important differences between the two sibling models.

    Very useful stuff.

  • March 18, 2018 at 10:18 pm

    Quite detailed and informative review. Tektronix TDS 340 seems to be a good device. I would like to know some of its cons

  • May 17, 2021 at 7:12 pm

    Dear sir
    I have tektronix tds340a but it’s chanel CH1 trigger problem kindly telling me tips what component I check that this is ok

  • ToughDev
    May 17, 2021 at 11:21 pm

    Hi Mateen, remove all inputs and run a diagnostics test from the UTILITY menu to see if the scope passes all tests. Also try to run a self-calibration and see if things improve.

  • May 18, 2021 at 10:27 pm

    Please any body who is repairing TDS 340 oscilloscope my scope is CH 1 not Tragger kindly send me details which is Fault send feedback

  • October 24, 2023 at 10:47 pm

    muy buen documental y estudio colega gracias por compartirlo, amigo me interesa ponerle video out al 340 que compre pero la tarjeta opcion 14 ya no lo venden se puede hacer con otra pcb u instalación de ma lmm sacar las señales y pasarla al conector de vídeo del moñitos gracias por tu ayuda

  • November 30, 2023 at 3:55 am

    Do you have any pictures of the front of the option 14 interface underneath the metal shield so that I could determine if I could make my own?


  • ToughDev
    December 5, 2023 at 8:09 am

    Hi Alex,

    Sorry for the late reply. Let me check my image archive and see if I still keep more photos of the board. The scope was sold a long time ago and the Option 14 board is no longer with me.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>