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)
"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)
How to create an "EPICS on KNOPPIX" iso image file. (in Japanese)
Dr. T. Obina created ISO images for SL4 LiveCD+EPICS. Download an image from here.
EPICS live CD based on Ubuntu Linux is also available. [ISO imange ~ 1GB]
EPICS Python interface without thread support: work with both EPICS3.13 and 3.14.
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)
Instruction to make this module compatible with FNAL-PythonCA module.
PyUSBTMC
module is a python module to control devices which follow
USB-TMC(test and measurement class) or USB488 standard. The module
requires both pyusb module and libusb(or openusb) library
installed.
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.
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.
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.
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 .