The Photo Injector Test Facility at DESY in Zeuthen (PITZ) was built to test and to optimize sources of high brightness electron beams for Free-Electron Lasers (FELs). In order to achieve high accelerating gradients and long RF pulse lengths in the RF gun cavities an extensive and safe RF conditioning is required. A State Machine based Automatic Conditioning application (SMAC) was developed to automate the RF conditioning processes, allowing for greater efficiency and performance optimization. SMAC is written in Java and uses State Chart XML (SCXML) as the finite-state machine execution environment based on Harel statecharts. It employs the Distributed Object-Oriented Control System (DOOCS) and Three-fold Integrated Networking Environment (TINE) for the communication with the control system of PITZ. The graphical user interface (GUI) is created by using the Java Swing toolkit. Communication between GUI and SXML processing layer is performed via Document Object Model (DOM) events. The SMAC application has been successfully applied to RF conditioning of several gun cavities at PITZ.
Proceedings of the 12th Int. Workshop on Emerging Technologies and Scientific Facilities Controls, PCaPAC2018, Hsinchu, Taiwan