EPICS: Tektronix TDS Oscilloscope GPIB Support

This page is the home of the EPICS GPIB device support for Tektronix TDS oscilloscopes. The software provided here is an enhancement to the TDS 540 oscilloscope software developed by Ben Franksen at BESSY and for the most part, is unchanged. This site gives access to the software source code, information on other modules which are needed to install and run it, and documentation on how to include and use it in your EPICS applications. Please email any comments and bug reports to Stephanie Allison who is responsible for coordinating development and releases.

Hardware Supported

The software can drive the following types of hardware:

Where to Find it

You can download the software by anonymous ftp  from the links in the table below:
Module Version EPICS Release Filename Documentation Release Notes Known Bugs
See Below

Installation and Building

After obtaining a copy of the distribution, it must be installed and built for use at your site. These steps only need to be performed once for the site (unless versions of the module running under different releases of EPICS and/or the other required modules are needed).
  1. Start with an existing EPICS application area and cd to the src directory.
  2. Unpacking the distribution tar file produces a <tdsGpib> directory.
  3. Add tdsGpib to your src/Makefile and run gnumake. Check for any compilation errors.
  4. Example TDS 380 GDCT databases reside in tdsGpib/Db.
  5. Example TDS 380 DM2K displays reside in tdsGpib/dl.
  6. An example TDS 380 bumpless reboot config file resides in tdsGpib/savedata.
  7. Example subroutines for parsing a waveform preamble, writing a waveform to a file, and resetting a LAN box are provided in tdsGpib/src/subTDS.c and are used by subroutine records in the tdsGpib/Db databases.
  8. When using tdsGpib in your application, you must also include the common gpib device support plus one or more GPIB drivers provided by Ben Franksen at BESSY ( EPICS GPIB Module Software). You will also need the scaled waveform record provided by Ben Franksen or some equivalent record. If you build one library in your application, you'll want to include tdsLib, gpibLib, and swfRecord.o along with the normal base support. You'll want to include devTDS300Gpib.dbd and/or devTDS540Gpib.dbd, gpib.dbd, and swfRecord.dbd along with the normal base dbd files when building your application's database definition file (see tdsGpib/src/TDSInclude.dbd for an example).
  9. Please email  Stephanie Allison  so she can keep track of which sites are using this software.


The following documentation is available:

In Use

This software was originally developed by Ben Franksen (BESSY) for TDS 540 and was upgraded to work for both TDS 380 and 540 by Stephanie Allison (SLAC). It is used at the following EPICS sites:
Stephanie Allison