EPICS: Stanford Research Systems DS Function Generator GPIB Support

This page is the home of the EPICS GPIB device support for Stanford Research Systems (SRS) DS function generators. The software provided here is an enhancement to the DS 335 function generator software developed by Frank Lenkszus at APS/ANL 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 <srsDsGpib> directory.
  3. Add srsDsGpib to your src/Makefile and run gnumake. Check for any compilation errors.
  4. Example databases reside in srsDsGpib/Db.
  5. Example displays reside in srsDsGpib/dl.
  6. Example bumpless reboot config files resides in srsDsGpib/savedata.
  7. When using srsDsGpib 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). If you build one library in your application, you'll want to include srsDsLib and gpibLib along with the normal base support. You'll want to include devSrsDs335Gpib.dbd and/or devSrsDs345Gpib.dbd and gpib.dbd along with the normal base dbd files when building your application's database definition file (see srsDsGpib/src/srsDsInclude.dbd for an example).
  8. 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 Frank Lenkszus (APS/ANL) for SRS DS335 and was upgraded to work for DS345 by Glen Wetzel (SLAC). It is used at the following EPICS sites:
Stephanie Allison