16-23 September 2016
Oak Ridge National Laboratory
US/Eastern timezone

Applications of Lua-based Embedded Scripting within EPICS at LANSCE

21 Sep 2016, 16:15
Conference Center (Oak Ridge National Laboratory)

Conference Center

Oak Ridge National Laboratory

Regular Talk (15min) EPICS Core, EPICS V4 EPICS Collaboration Meeting


Jeffrey Hill (Los Alamos Neutron Science Center)


During our retrofit of LANSCE LINAC instrumentation systems we implemented fundamental upgrades to EPICS facilitating the rapid-prototype approach to software-development based upon the Lua embedded scripting language. Selection of Lua facilitates new advanced capabilities within EPICS satisfying requirements at LANSCE, but without compromising the general utility of EPICS for use within the wider context of its different sites and projects. At LANSCE Lua implements subscription update filtering of logical beam gate combinatorials selecting subsets of produced beam species, implements configuration scripting during EPICS IOC startup, and also implements advanced rapid-prototyping approach to algorithmic building blocks based on a new Lua-script-based EPICS record. We will discuss some details of how these new features are programmed and configured for implementing LANSCE requirements along with some rough measurements of the computational efficiency of Lua within these applications.

Primary author

Jeffrey Hill (Los Alamos Neutron Science Center)

Presentation Materials