JACoW is a publisher in Geneva, Switzerland that publishes the proceedings of accelerator conferences held around the world by an international collaboration of editors.
TY - CONF AU - Varlec, J. ED - Plötzeneder, Birgit ED - Schaa, Volker RW ED - Štajminger, Ana TI - Autoparam, a Generic Asyn Port Driver with Dynamic Parameters J2 - Proc. of PCaPAC2022, Dolní Brežany, Czech Republic, 04-07 October 2022 CY - Dolní Brežany, Czech Republic T2 - International Workshop on Emerging Technologies and Scientific Facilities Controls T3 - 13 LA - english AB - Implementing EPICS device support for a specific device can be tricky; implementing generic device support that can integrate different kinds of devices sharing a common interface is trickier still. Yet such a driver can save a lot of time down the road. A well-known example is the Modbus EPICS module: the same support module can be used to integrate any device that speaks the Modbus protocol. It is up to the EPICS database to map device registers to EPICS records. Because no changes to the driver code are needed to integrate a device, a lot of effort is saved. At Cosylab, we often encounter device controllers that speak bespoke protocols. To facilitate development of generic drivers, we wrote the Autoparam EPICS module. It is a base class derived from asynPortDriver that handles low-level details that are common to all generic drivers: it creates handles for device data based on information provided in EPICS records and provides facilities for handling hardware interrupts. Moreover, it strives to provide a more ergonomic API for handling device functions than vanilla asynPortDriver. PB - JACoW Publishing CP - Geneva, Switzerland SP - 98 EP - 101 KW - EPICS KW - interface KW - database KW - status KW - controls DA - 2023/02 PY - 2023 SN - 2673-5512 SN - 978-3-95450-237-0 DO - doi:10.18429/JACoW-PCaPAC2022-FRO12 UR - https://jacow.org/pcapac2022/papers/fro12.pdf ER -