Author: Bertrand, B.
Paper Title Page
MO4BCO04 Improving Control System Software Deployment at MAX IV 201
 
  • B. Bertrand, Á. Freitas, A.F. Joubert
    MAX IV Laboratory, Lund University, Lund, Sweden
  • J.T. Kowalczyk
    S2Innovation, Kraków, Poland
 
  The control systems of large research facilities like synchrotrons are composed of many different hardware and software parts. Deploying and maintaining such systems require proper workflows and tools. MAX IV has been using Ansible to manage and deploy its full control system, both software and infrastructure, for many years with great success. We detail further improvements: defining Tango devices as configuration, and automated deployment of specific packages when tagging Gitlab repos. We have now adopted Conda as our primary packaging tool instead of the Red Hat Package Manager (RPM). This allows us to keep up with the rapidly changing Python ecosystem, while at the same time decoupling Operating System upgrades from the control system software. For better management, we have developed a Prometheus-based tool that reports on the installed versions of each package on each machine. This paper will describe our workflow and discuss the benefits and drawbacks of our approach.  
slides icon Slides MO4BCO04 [1.969 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-MO4BCO04  
About • Received ※ 06 October 2023 — Accepted ※ 13 October 2023 — Issued ※ 26 October 2023  
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUPDP145 Position-Based Continuous Energy Scan Status at MAX IV 917
 
  • Á. Freitas, N.S. Al-Habib, B. Bertrand, M. Eguiraun, I. Gorgisyan, A.F. Joubert, J. Lidón-Simon, M. Lindberg, C. Takahashi
    MAX IV Laboratory, Lund University, Lund, Sweden
 
  The traditional approach of step scanning in X-ray experiments is often inefficient and may increase the risk of sample radiation damage. In order to overcome these challenges, a new position-based continuous energy scanning system has been developed at MAX IV Laboratory. This system enables stable and repeatable measurements by continuously moving the motors during the scan. Triggers are generated in hardware based on the motor encoder positions to ensure precise data acquisition. Prior to the scan, a list of positions is generated, and triggers are produced as each position is reached. The system uses Tango and Sardana for control and a TriggerGate controller to calculate motor positions and configure the PandABox, which generates the triggers. The system is capable of scanning a single motor, such as a sample positioner, or a combined motion like a monochromator and undulator. In addition, the system can use the parametric trajectory mode of IcePAP driver, which enables continuous scans of coupled axes with non-linear paths. This paper presents the current status of the position-based continuous energy scanning system for BioMAX, FlexPES, and FinEst beamlines at MAX IV and discusses its potential to enhance the efficiency and accuracy of data acquisition at beamline endstations.  
poster icon Poster TUPDP145 [1.943 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-TUPDP145  
About • Received ※ 05 October 2023 — Revised ※ 23 October 2023 — Accepted ※ 29 November 2023 — Issued ※ 11 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TH1BCO03 The Tango Controls Collaboration Status in 2023 1100
 
  • T. Juerges
    SKAO, Macclesfield, United Kingdom
  • G. Abeillé
    SOLEIL, Gif-sur-Yvette, France
  • R.J. Auger-Williams
    OSL, St Ives, Cambridgeshire, United Kingdom
  • B. Bertrand, V. Hardion, A.F. Joubert
    MAX IV Laboratory, Lund University, Lund, Sweden
  • R. Bourtembourg, A. Götz, D. Lacoste, N. Leclercq
    ESRF, Grenoble, France
  • T. Braun
    byte physics, Annaburg, Germany
  • G. Cuní, C. Pascual-Izarra, S. Rubio-Manrique
    ALBA-CELLS, Cerdanyola del Vallès, Spain
  • Yu. Matveev
    DESY, Hamburg, Germany
  • M. Nabywaniec, T.R. Noga, Ł. Żytniak
    S2Innovation, Kraków, Poland
  • L. Pivetta
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  Since 2021 the Tango Controls collaboration has improved and optimised its efforts in many areas. Not only have Special Interest Group meetings (SIGs) been introduced to speed up the adoption of new technologies or improvements, the kernel has switched to a fixed six-month release cycle for quicker adoption of stable kernel versions by the community. CI/CD provides now early feedback on test failures and compatibility issues. Major code refactoring allowed for a much more efficient use of developer resources. Relevant bug fixes, improvements and new features are now adopted at a much higher rate than ever before. The community participation has also noticeably improved. The kernel switched to C++14 and the logging system is undergoing a major refactoring. Among many new features and tools is jupyTango, Jupyter Notebooks on Tango Controls steroids. PyTango is now easy to install via binary wheels, old Python versions are no longer supported, the build-system is switching to CMake, and releases are now made much closer to stable cppTango releases.  
slides icon Slides TH1BCO03 [1.357 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-TH1BCO03  
About • Received ※ 05 October 2023 — Revised ※ 24 October 2023 — Accepted ※ 21 November 2023 — Issued ※ 13 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THPDP050 Improving User Experience and Performance in Sardana and Taurus: A Status Report and Roadmap 1420
 
  • Z. Reszela, J. Aguilar Larruy, M. Caixal i Joaniquet, G. Cuní, R. Homs-Puron, E. Morales, M. Navarro, C. Pascual-Izarra, J.A. Ramos, S. Rubio-Manrique, O. Vallcorba
    ALBA-CELLS, Cerdanyola del Vallès, Spain
  • B. Bertrand, J. Forsberg
    MAX IV Laboratory, Lund University, Lund, Sweden
  • M.T. Núñez Pardo de Vera
    DESY, Hamburg, Germany
  • M. Piekarski
    NSRC SOLARIS, Kraków, Poland
  • D. Schick
    MBI, Berlin, Germany
 
  Sardana Suite is an open-source scientific SCADA solution used in synchrotron light beamlines at ALBA, DESY, MAXIV and SOLARIS and in laser labs at MBI-Berlin. It is formed by Sardana and Taurus - both mature projects, driven by a community of users and developers for more than 10 years. Sardana provides a low level interface to the hardware, middle level abstractions and a sequence engine. Taurus is a library for developing graphical user interfaces. Sardana Suite uses client - server architecture and is built on top of TANGO. As a community, during the last few years, on one hand we were focusing on improving user experience, especially in terms of reliability and performance and on the other hand renewing the dependency stack. The system is now more stable, easier to debug and recover from a failure. An important effort was put in profiling and improving performance of Taurus applications startup. The codebase has been migrated to Python 3 and the plotting widgets were rewritten with pyqtgraph. This didn’t prevent us from delivering new features, like for example the long-awaited configuration tools and format based on YAML which is easy and intuitive to edit, browse, and track historical changes. Now we conclude this phase in the project’s lifetimes and are preparing for new challenging requirements in the area of continuous scans like higher data throughput and more complex synchronization configurations. Here we present the status report and the future roadmap.  
poster icon Poster THPDP050 [0.605 MB]  
DOI • reference for this paper ※ doi:10.18429/JACoW-ICALEPCS2023-THPDP050  
About • Received ※ 06 October 2023 — Revised ※ 26 October 2023 — Accepted ※ 13 December 2023 — Issued ※ 21 December 2023
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)