The Karabo middlelayer API and motion control systems at European XFEL

Karabo is a device-based distributed control system toolkit used to implement the control and data acquisition systems of European XFEL. A feature of Karabo is its middlelayer (MDL) API - a powerful, flexible and easy-to-use asynchronous Python API which can be used to implement Karabo devices. Such devices may interface hardware directly, or they may communicate with other Karabo devices to provide coordination between them or derive functionality from them. Lightweight middlelayer devices, called macros, allow routines for coordinating or monitoring Karabo devices to be quickly created. A command-line interface using the MDL API is provided by the iKarabo utility. In this contribution an overview of the Karabo middlelayer is given, presenting key parts of the API, and macros and iKarabo are introduced. Examples of MDL devices are presented, with an emphasis on motion systems. A framework for multi-axis motion, virtual motor base, and the scan tool, Karabacon, are described. The Karabo MDL API is compared to EPICS solutions, including pythonSoftIOC and asyn, and to BlueSky.

Publication Details

Journal
European XFEL Publication Database
Published
2025-12-05
DOI
https://doi.org/10.18429/jacow-icalepcs2025-thbg004
Primary Topic
Particle Accelerators and Free-Electron Lasers
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Karabo middlelayer API and motion control systems at European XFEL

European XFEL Publication Database
Particle Accelerators and Free-Electron Lasers
article

The Karabo middlelayer API and motion control systems at European XFEL

article en

Abstract

Karabo is a device-based distributed control system toolkit used to implement the control and data acquisition systems of European XFEL. A feature of Karabo is its middlelayer (MDL) API - a powerful, flexible and easy-to-use asynchronous Python API which can be used to implement Karabo devices. Such devices may interface hardware directly, or they may communicate with other Karabo devices to provide coordination between them or derive functionality from them. Lightweight middlelayer devices, called macros, allow routines for coordinating or monitoring Karabo devices to be quickly created. A command-line interface using the MDL API is provided by the iKarabo utility. In this contribution an overview of the Karabo middlelayer is given, presenting key parts of the API, and macros and iKarabo are introduced. Examples of MDL devices are presented, with an emphasis on motion systems. A framework for multi-axis motion, virtual motor base, and the scan tool, Karabacon, are described. The Karabo MDL API is compared to EPICS solutions, including pythonSoftIOC and asyn, and to BlueSky.

European XFEL Publication Database
Openalex Percentile: Top 47%
Particle Accelerators and Free-Electron Lasers
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.