16–23 Sept 2016
Oak Ridge National Laboratory
US/Eastern timezone

Applications of Lua-based Embedded Scripting within EPICS at LANSCE

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

Conference Center

Oak Ridge National Laboratory

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

Speaker

Jeffrey Hill (Los Alamos Neutron Science Center)

Description

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