EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: yet another python extension to channel access
From: Xiaoqiang Wang <[email protected]>
To: [email protected]
Date: Tue, 12 Aug 2014 15:24:23 +0200
Hi,

As usual, it is started as a learning project and then made functional.
When compared to other implementations, it differs in the following:
  * Use cffi[1]. This reduces the extra data structure declarations compared to the solution based on ctypes. see [2] for a simple comparison. Compared to Python C/API and SWIG, it does not involve any C programming.
  * Provide only low level, one-to-one mapping of ca_xxx functions. But data types conversion are being handled.

As being primitive, it serves as basis to build high level interfaces. A re-implementation of the CaChannel interface is shipped within the package.

Its homepage is https://pypi.python.org/pypi/caffi


Best
Xiaoqiang

[1] https://pypi.python.org/pypi/cffi
[2] http://eli.thegreenplace.net/2013/03/09/python-ffi-with-ctypes-and-cffi/




Navigate by Date:
Prev: RE: New to EPICS - system design questions Dalesio, Leo
Next: RE: New to EPICS - system design questions Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: FW: RE: how to install medm on ubuntu14.04 Mark Rivers
Next: EPICS_CA_MAX_ARRAY_BYTES for Pilatus Specht, Eliot D.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024