JACoW logo

Journals of Accelerator Conferences Website (JACoW)

JACoW is a publisher in Geneva, Switzerland that publishes the proceedings of accelerator conferences held around the world by an international collaboration of editors.


RIS citation export for MO4BCO02: Lessons from Using Python GraphQL Libraries to Develop an EPICS PV Server for Web UIs

TY  - CONF
AU  - Auger-Williams, R.J.
AU  - Alexander, A.L.
AU  - Cobb, T.M.
AU  - Gaughran, M.J.
AU  - Rose, A.J.
AU  - Wells, A.W.R.
AU  - Wilson, A.A.
ED  - Schaa, Volker RW
ED  - Götz, Andy
ED  - Venter, Johan
ED  - White, Karen
ED  - Robichon, Marie
ED  - Rowland, Vivienne
TI  - Lessons from Using Python GraphQL Libraries to Develop an EPICS PV Server for Web UIs
J2  - Proc. of ICALEPCS2023, Cape Town, South Africa, 09-13 October 2023
CY  - Cape Town, South Africa
T2  - International Conference on Accelerator and Large Experimental Physics Control Systems
T3  - 19
LA  - english
AB  - Diamond Light Source is currently developing a web-based EPICS control system User Interface (UI). This will replace the use of EDM and the Eclipse-based CS-Studio at Diamond, and it will integrate with future Acquisition and Analysis software. For interoperability, it will use the Phoebus BOB file format. The architecture consists of a back-end application using EPICS Python libraries to obtain PV data and the query language GraphQL to serve these data to a React-based front end. A prototype was made in 2021, and we are now doing further development from the prototype to meet the first use cases. Our current work focuses on the back-end application, Coniql, and for the query interface we have selected the Strawberry GraphQL implementation from the many GraphQL libraries available. We discuss the reasons for this decision, highlight the issues that arose with GraphQL, and outline our solutions. We also demonstrate how well these libraries perform within the context of the EPICS web UI requirements using a set of performance metrics. Finally, we provide a summary of our development plans. 
PB  - JACoW Publishing
CP  - Geneva, Switzerland
SP  - 191
EP  - 195
KW  - EPICS
KW  - controls
KW  - status
KW  - ECR
KW  - factory
DA  - 2024/02
PY  - 2024
SN  - 2226-0358
SN  - 978-3-95450-238-7
DO  - doi:10.18429/JACoW-ICALEPCS2023-MO4BCO02
UR  - https://jacow.org/icalepcs2023/papers/mo4bco02.pdf
ER  -