Hi,
I have followed the recent postings on using CA from Python with
interest. We here at Fermilab make extensive use of our version of a
Python/CA interface. You can get the source and documentation from
http://www-d0.fnal.gov/~savage/caPython/caPython.html
Along with the source code I have included Python modules for Linux,
IRIX, and OSF1. The wrapper class, CaChannel, is pure Python and will
also run on all these platforms.
Highlights:
+ Straight conversion between C functions and Python functions using
SWIG. This let's you program in Python as if you were programming in
C. Some of the more advanced functions have not been implemented due to
constraints with how callbacks are handled. I haven't completed the
scan group functionality as we don't use it here.
+ Included is a Python class that wraps the functions. This makes CA in
Python easier to use.
+ Many macros from db_access.h and cadef.h are included along with the
data type identifiers (DBR_XXXX and DBF_XXXX).
Unfortunately we have not had the time to evaluate the CA/Python
interfaces developed by Noboru Yamamoto and Matthieu Bec. Maybe we can
combine the strongest parts from each project into a standard CA/Python
interface.
Please contact me with any questions or concerns.
Geoff
- Replies:
- Re: Using EPICS CA from Python Noboru Yamamoto
- Navigate by Date:
- Prev:
Re: VxWorks global variable device support (capfast can default DOL to not set) William Lupton
- Next:
Re: VxWorks global variable device support (boRecord.c) saa
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: VxWorks global variable device support (capfast can default DOL to not set) William Lupton
- Next:
Re: Using EPICS CA from Python Noboru Yamamoto
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|