Channel Access Interface for Python
Overview:
PythonCA is a dynamically loadable module providing Channel Access support to python scripting language. The interface defines a new PV object type to handle EPICS process variables within Python environment. PythonCA provides the basic CA clients API to retreive, modify, and monitor remote PVs. The module supports scalar and waveform data and can be configured on-the-fly to work either synchronously or asynchronously.
Installation:
This release has been compiled on Solaris 2.7 with Python 1.5.2.Note: after starting the interpreter, you may want to modify your Python 'sys.path' and define where to pickup the new package - eg:
The package requires gnu readline v4.0 (or higher)
Extract the distribution tar file move to pythonCA/src directory. edit the Makefile to reflect the environment specifics of your system. type 'make' to build a pythonCA/lib/pythonCA.so shared object you can subsequently load into Python. import sys
sys.path.append('/your/path_to/pythonCA/lib')
import pythonCA
Download area:
- v1.4 : 20/09/1999
(mail me for a download)
Now use the the fdmgr provided by EPICS libCom.
It's all hacked around the gnu readline code, provides all the benefits as a bonus (history, command completion, keybindings etc.)I got gnu readline (v4.0) there :
ftp://ftp.etsimo.uniovi.es/pub/gnu/readline
Contact:
Matthieu Bec mdcb@ing.iac.es Isaac Newton Group of Telescopes www.ing.iac.es/~mdcb Aparatado de Coreas 321 tel: +34 922 425 42738780 Santa Cruz de La Palma fax: +34 922 425 401The Canary Islands - Spain