BEC widgets: A modern modular framework for Beamline Experiment Control

BEC Widgets is a modular Qt6 (PySide6) GUI framework developed to streamline usage of Beamline Experiment Control (BEC) at the Swiss Light Source, Paul Scherrer Institute. Emphasizing plug-and-play functionality and rapid adaptability, it enhances scientific workflows by allowing dynamic reconfiguration of interfaces—even during live experiments. Built from independent widget components, BEC Widgets enables users to assemble custom applications by flexibly combining pre-built elements. Interfaces can be created or modified via the command line, interactively in the main application, or visually through Qt Designer. Users can also extend functionality by implementing custom widgets tailored to beamline needs. Integrated with the BEC system, BEC Widgets uses Redis as a high-performance shared memory backend to synchronize data across all components. This supports seamless interaction with scans, acquisition, live monitoring, automation, and device control. A server–client architecture with RPC ensures GUI stability, isolating it from command-line operations. PyQtGraph-based visualization further boosts real-time data analysis. Crucially, all business logic is kept out of the UI layer, ensuring a clean separation of concerns and maintainable code. Released as open-source software, BEC Widgets invites collaboration and reuse across the scientific community.

Publication Details

Journal
JACOW
Published
2025-12-05
DOI
https://doi.org/10.18429/jacow-icalepcs2025-thpd093
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BEC widgets: A modern modular framework for Beamline Experiment Control

JACOW
Distributed and Parallel Computing Systems
article

BEC widgets: A modern modular framework for Beamline Experiment Control

article en

Abstract

BEC Widgets is a modular Qt6 (PySide6) GUI framework developed to streamline usage of Beamline Experiment Control (BEC) at the Swiss Light Source, Paul Scherrer Institute. Emphasizing plug-and-play functionality and rapid adaptability, it enhances scientific workflows by allowing dynamic reconfiguration of interfaces—even during live experiments. Built from independent widget components, BEC Widgets enables users to assemble custom applications by flexibly combining pre-built elements. Interfaces can be created or modified via the command line, interactively in the main application, or visually through Qt Designer. Users can also extend functionality by implementing custom widgets tailored to beamline needs. Integrated with the BEC system, BEC Widgets uses Redis as a high-performance shared memory backend to synchronize data across all components. This supports seamless interaction with scans, acquisition, live monitoring, automation, and device control. A server–client architecture with RPC ensures GUI stability, isolating it from command-line operations. PyQtGraph-based visualization further boosts real-time data analysis. Crucially, all business logic is kept out of the UI layer, ensuring a clean separation of concerns and maintainable code. Released as open-source software, BEC Widgets invites collaboration and reuse across the scientific community.

JACOW
Industry, innovation and infrastructure
Openalex Percentile: Top 38%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.