KEKB,
PF-AR and JPARC project are using or will use EPICS as a basis of
their controls systems.
KEK EPICS traversal group was created to
support better all of these accelerator control systems.
Its aims
is to enhance a sharing of knowledge and technology on EPICS and
accelerator controls within KEK (and anywhere).
Products:
GP-IB
Device Compiler (GDC) converts GP-B commands table using GDL(GP-IB
device language) into C-code as EPICS support device support
routine.
tarball
(for EPICS3.14+ asynDev)
-
EPICS
on KNOPPIX
- "1-CD
Linux" with EPICS base and extensions installted .
- Latest
: 1CD (~600MB) ISO
iamge, based on KNOPPIX5.01also includes EPICS base, asynDev,
netDev, WE drivers, edm(1-11), medm, StripTool, probe,
gateway and Application Developpers Guide. No Java
VM. (Nov. 05, 2006)
- OLD
version ISO /
cdr
- How
to create an "EPICS on KNOPPIX" iso image file. (in
Japanese)
SL-Live
CD with EPICS .
- Dr. T.
Obina created ISO images for SL4 LiveCD+EPICS. Download
an image from here.
- Short
description by Dr. Obina (in Japanese
and English)
- EPICS
live CD based on Ubuntu Linux is also available. [ISO imange ~ 1GB]
Python
Libraries
- EPICS
interface
- EPICS
Python interface without thread support: work with both EPICS3.13
and 3.14.
- tarball
(obsolete)
- EPICS
Python Interface with thread support.
For EPICS 3.14.x , this
version of EPICS-Python interface module (ca module) takes
advantage of threaded CA library.
It requires Python2.4 or
later with thread library enabled. It also work with
thread-enabled version of Tcl/Tk library through Tkinter module.
It should also work with Python 2.3 or 2.2 but may need some
adjustment in ./setup.py.
- tarball
; PythonCA-1.20.2.tar.gz
(2009/03/10)
- pthread_mutex
library calls are replaced by epicsMutex calls. (contributed by
T.Obina)
- older
version : CaPython314.tgz
(2007/05/03)
installation
instruction
Instruction
to make this module compatible with FNAL-PythonCA module.
VXI-11
interface module.
VXI-11
is a standard defined by the
VXIbus Consortium, Inc.
It provides a standard way to control devices through network. It
based on ONC RPC and its rpc interface is defined by RPCL. VXI-11
modules allow you to access device following this VXI-11 standard
from Python interpreter. It based on RPCL description shown in
VXI-11 specification and SWIG(vers. 1.3.31) interface. Pleas find
a source
distribution here.(updated
to 1.11.1 on Nov. 16,2011)
-
Extended
TkCanvas with PythoTk option for gnuplot.4.2.0
- tkcanvas
terminal in gnuplot4.2.0 now suppor pythontk option. It generate
python script drive Tkinter/Python.
- This
version also support palette and pm3d colorbox. Drawing image is
not supported yet.
- use
"set term tkcanvs pythontk" or "set term tkcanvs
pythontk interactive"
- output
a python program generated by gnuplot into a file.e.g. ' set
output "gnuoutput.py"
- Start
python and:
- c=Canvas();c.pack()
- import
gnuoutput
- gnuoutput.gnuplot(c)
- will
generate gnuplot graph on the canvas widget.
- Here
is a source code and diff
file from the origirnal
- replace
tkcanvas.trm in term within your gnuplot source tree. and make.
- Enjoy.
- wish.trm
amd tkinter.trm are the
other terminals for gnuplot4.2. It opens Tk/Canvas window and draw
graphs directly on it.
- set
term wish or set term tkinter
- wish
uses external "wish" program and tkinter links Tcl/Tk
library and uses it to start Tk main lo
op.
- extended
Gnuplyt.py
- It
is an extended version Gnuplot.py(version
1.7) . It intduce Gnuplot class with tplot command. It also
introduces TimeData fnction for time domain data.
- It uses
Gnuplot.py and Numeric module.
- Japanese
Documentation for Gnuplot.py is available here.
- gnuplot
svg.trm patch
- svt.trm
in gnuplot distribution may produces svg script includes errors
for some browser, it not all.
-
This
patch works with gnuplot 4.4 and 4.5. It should also work with
other version as well.
- Widgets
for EPICS
- Database
access through python (dbStaticLib.i
for SWIG and realted files 2009.3.12,)
- Prerequisites
:EPICS 3.14.x , Python 2.5.1 or higher, swig 1.3.31 or higher, you
also needs simplejson module for Python or Python2.6 for db2json
module
- "python
setup.py build install" will build and install package
- See
dbDumpRecords.py or db2json.py modules as examples of this module.
Device
support for GAINER
module
GAINER(http://gainer.cc/Main/HomePage?userlang=en)
is a USB modules equipped with several analog/digital IO ports.
When it is connected with PC, it behaves a device connected with
serial port. To support this module in EPICS/StreamDevice, a
protocol file for GAINER was developed. A tar-gzipped file
including a protocol file and a sample database is available HERE.
Device
support with Python:devPy.c (in development)
devPy.c
is a device support library with which user can develop
device support using Python programming language. Currently
it support only ai record but can be extended to support standard
records in EPICS distribution.
It should be quite useful to
test new device which has a driver for Linux/MacOSX.
In
Python, you need to provide a class. EPICS record instance will
be connected to an instance of this class when EPICS database is
up and running. The class should have a method named "read"
and/or “write”. EPICS database will call this method when the
record is processed and put value returned by this method to the
RVAL(Integer)/VAL(Float) field.
In the EPICS database
configuration file (.db file), DTYP filed is set to
"Python" to connect it to devPy. INP field type is
INST_IO and INP field would look like
"@/module/sub-module/class-name;params?key1=val1&key2=val2,..".
The
params part and query part of this URI like format will be passed
to the class constructor(__init__) as a string and a dictionary.
check here
for source codes.[last updated 2009/3/31]
Records
- Array
Utility records
- Timestamp
record (KEK version)
- Waveout/Arrayout
records,...
- FFT
records: Calculate Fourier Coefficients from Wavefrom data.
- This
tarball includes two types of FFT record support, RFFT record
and CFFT record.
- RFFT
takes one waveform record as an input. When processed, it
calculate Real DFT coefficients using FFT algorithm. Result can be
accessd at the field AMP, PHA, COS, SIN.
- CFFT
records may have two waveform data as its input. Complex DFT
coefficients will be calculated using these wave form as real and
imaginary part of input complex data. Calculated result will be
stored in AMP and PHA fields. AMP field shows absolute values of
the coefficients and PHA files shows phase angle of the
coefficients.
- You can
apply winodw functions and average subtration of input data. WIND
and ASUB fields control this functionarity.
- WAVN
fiels hosts wavenumber, 0.0-0.5 for RFFT and 0.0 - 1.01 for CFFT,
of the coefficients.
- devWfDbRecfection
- A
device support for waveform record. It get a list of record
types/files of specified record/name of reocrds from EPICS DB
using dbStaticLib.
-
Now
Supports CHAR and UCHAR as FTVL. It returns comma separated list
of informaiont as char array.(2009.3.20)
tar.gz
file is here .