EPICS Controls Argonne National Laboratory

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  2014  <20152016  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  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Framework for building IOC support
From: <[email protected]>
To: <[email protected]>
Date: Mon, 9 Mar 2015 15:32:30 +0000

I would like to announce the publication of a framework for helping to build EPICS IOCs.  The scope is somewhat in the spirit of Asyn, but the details and implementation are altogether unlike.  Some important differences:

1.       The interface to EPICS is completely synchronous.  Any decoupling of processing needs to be done explicitly and separately from the framework.

2.       The library is based on C99, not C++.  EPICS record type overloading is implemented via slightly scary use of macros (don’t look too closely if you’re of faint heart!)

3.       Device support is provided for the 11 basic EPICS record types (ai, ao, bi, bo, longin, longout, stringin, stringout, mbbi, mbbo, waveform) directly, there is no abstraction layer beyond this.

 

This framework has had a very long gestation.  Its first incarnation was as part of the implementation of Libera EBPM support, at least 8 years ago.  The second incarnation was inspired by work that James Rowland did on what he called “Generic” device support: his code was very concise and to the point, but only provided support for ai/ao records and waveforms of double.  Most recently this framework has been used to build device support for the Libera TMBF (Transverse Multi-Bunch Feedback processor) used at Diamond, and for our own X-ray photon beam position monitors.  This release is the result of extracting this framework as a standalone EPICS support module.

 

This framework depends on epicsdbbuilder, also published today, but is otherwise self contained.  I will shortly be publishing TMBF, which is a large implementation (560 records) using this framework.

 

epics_device can be found at https://github.com/Araneidae/epics_device

epicsdbbuilder can be found at https://github.com/Araneidae/epicsdbbuilder

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Navigate by Date:
Prev: RE: Problem with libhdf5.a when installling areaDetector-2-1 Mark Rivers
Next: Base 3.14.12.5-rc1 Available Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Python Soft IOC v2.9 michael.abbott
Next: Base 3.14.12.5-rc1 Available Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·