EPICS seq Module

Module Owner:
William Lupton
This page is the home of the EPICS seq module, which provides a state notation compiler and run-time support for implementing state transition diagrams in an EPICS environment. Versions prior to 2.0.0 can only run under VxWorks. Versions 2.0.0 or later can run in any environment which implements the OSI layer (introduced at EPICS R3.14).

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 William Lupton who is responsible for coordinating development and releases. Rozelle Wright and Greg White are also familiar with this module and may be willing to help with some problems.

Where to Find it

You can download the software by anonymous ftp from the W. M. Keck Observatory ftp site at ftp://ftp.keck.hawaii.edu/pub/epics/seq, or directly from the links in the table below:
Module Version EPICS Release Filename Notes
R3.13.x  seq-1.9.4.tar.gz
R3.13.x seq-1.9.5.tar.gz
R3.14.x seq-2.0.0.tar.gz

Required Modules

Applications using this software will also need these other modules to be installed:
Seq Version  Requires module Release needed
EPICS base R3.13.x 
EPICS base R3.13.x
EPICS base R3.14.x 

Site 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.
  1. Create an installation directory for the module; usually this will be of the form /path/to/module/seq.
  2. Unpacking the distribution tar file produces a <supporttop> sub-directory named after the version number, e.g. seq-2.0.0.
  3. Edit the configure/RELEASE file and set the EPICS_BASE and SEQ variables.
  4. Edit the configure/CONFIG file and set the CROSS_COMPILER_TARGET_ARCHS and PVXXX variables
  5. Run gnumake in the top level directory and check for any compilation errors.
  6. Please email William Lupton so he can keep track of which sites are using this software.

Application Installation

To use the installed and built support software in an <ioctop> application, make the following changes to the application:
  1. Edit the configure/RELEASE file and add the line
    1. SEQ=/path/to/module/seq-version
  2. Edit the configure/CONFIG file and add the line
    1. SNC=$(SEQ)/bin/$(EPICS_HOST_ARCH)/snc
  3. In the application source directories, edit Makefile to search SEQ_LIB for sequencer libraries. e.g.
    1. PROD_LIBS += seq pv pvCa
      seq_DIR    = $(SEQ_LIB)
  4. Rebuild the application (including its configure directory) and use the newly installed module as desired.


The following documentation is available:

In Use

This software was originally developed by Andy Kozubal at Los Alamos National Laboratory (LANL). It has subsequently been developed by William Lupton at  the W. M. Keck Observatory (Keck), with contributions by Greg White of Stanford Linear Accelerator Center (SLAC). Versions up to 1.9.2 were part of EPICS base and were or are being used at most EPICS sites.

Version 1.9.3 has been used at various EPICS sites, including

Version 1.9.4 is the first version to be distributed as an unbundled module. It is being used at the following EPICS sites: Version 1.9.5 is a bug-fix version: sequencer deletion from the VxWorks shell once again works. Version 2.0.0 is the first version which runs under operating systems other than VxWorks. It is being used at the following EPICS sites:
William Lupton, 02-May-00