Dear Tim,
Tim Mooney wrote:
>Noboru, regarding...
>
>> Enclosed is a sample python program which displays windows on X-terminal.
>> Each window has a slider and a label which are both connected to EPICS channel.
>>
>> I also enclosed ca.py which implements EPICS channel class in python. ca.py
>> uses _ca module which are written in C. Python can retuns any value, includig
>> list called tuple in Python, as a return value of get().
>> Development status is quite preliminary but(or because of it) I appriciate
>> your comments.
>
>What _ca module are you talking about? Have you compiled libca.a into
>Python, or created a shareable copy "ca.so" and linked it at run time
>with Python, or is _ca something entirely different?
>
>Tim Mooney
"_ca.c" defines wrapper functions to access some of EPICS CA functions
in libca.a "_ca.c" defines a Python module "_ca", which includes
functions such as search, get,put, pendIo. Python module ca.py uses
these functions to access EPICS channels.
Currently libca.a is statistically linked with Python, however,
it should be possible to use a runtime linking on the system which
allow dynamic binding (just a guess).
====================================================
ca.py : defines channel class, uses _ca module.
_ca.c : implements _ca modude. exports search, get, put, pendIo funtions and
others. These functions eventually call libca.a functions such as
ca_search_and_connect().
====================================================
Regards,
Noboru
- Navigate by Date:
- Prev:
DB initialization ? Marian ZUREK
- Next:
NI-1014 help needed Josep A. Perlas
- 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: EPICS Channel Access in Python. Nick Patavalis
- Next:
Continous feedback control for stepper motors Benjamin Franksen
- 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
|