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.
    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.
  • Note: after starting the interpreter, you may want to modify your Python 'sys.path' and define where to pickup the new package - eg:
    import sys
    sys.path.append('/your/path_to/pythonCA/lib')
    import pythonCA

    Download area:

    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 427
    38780 Santa Cruz de La Palma
    fax: +34 922 425 401
    The Canary Islands - Spain