EPICS: VMEVMI Support at SLAC
This page is the home of the EPICS VMEVMI device support at SLAC. 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 |
R0
|
R3.13.2
|
vmic.tar.gz |
See Below
|
None
|
None
|
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).
-
Start with an existing EPICS application area and cd to the src
directory.
-
Unpacking the distribution tar file produces a <vmic> directory.
-
If you do not have the vmeCardRecord available to your application,
comment
out references to "devCardVmic<model#>" in the appropriate
Makefile.Vx files or download vmeCardRecord.tar.gz
and
util.tar.gz and unpack them at the same level as vmic.
- If using vmeCardRecord, add vmeCardRecord to your src/Makefile.
- Next add vmic directory to your src/Makefile and run gnumake.
Check for any compilation errors.
-
When using any vmic device in your application, you'll want to include
the appropriate "devVmic<model#>.dbd" files along with the normal
base
dbd files when building your application's database definition file. If
you are using vmeCardRecord, also include vmeCardRecord.dbd and
devVmic<model#>.dbd. You'll also want to include the appropriate
vmic<model#>Lib, and vmeCardRecord.o if using
vmeCardRecord, in src/Makefile.Vx when building your application's
library.
-
The base address for each VMEVMI card is set by calling the function
vmic<model#>_init()
from your startup script. This function must be called after the vmic
objects have been loaded but prior to executing iocInit(). The
arguments
to the initialization functions can be found in the example scripts in
the vmic/cmd/vmic<model#>Init.cmd. In addition, the EPICS support
for
some of the vmic models contain a hard coded card limit. To increase
this
limit the user will have to change the appropriate #define directive
and
recompile the source code.
-
Example databases and templates reside in vmic/db.
-
Example DM displays reside in vmic/dl.
-
Please email Stephanie
Allison so she can keep track of which sites are using this
software.
Documentation
The following documentation is available:
In Use
The vmivme4100 software was developed by Bob Dalesio at LANL and
upgraded
by Marty Kraimer at APS/ANL. The vmivme2534 software was originally
developed
by Bill Brown at LBL and upgraded by Steve Lewis at LBL. All software
was
was upgraded to work without module_types.h by Kristi Luchini at SLAC.
It is used at the following EPICS sites:
-
SLAC: BaBar IC167A Subsystem (4100,2534)
-
SLAC: Next Linear Collider Test Accelerator (4100,2534)
-
SLAC: Next Linear Collider 8-Pack (3122,4132,2534)
-
SLAC: Next Linear Collider Nanobpm Project (3122)
-
ANL: APS (4100)
-
Pohang Accelerator Lab (PAL), Korea
Stephanie Allison