auxygen
Auxiliary equipment drivers and utilities for synchrotron beamlines.
auxygen provides a Qt based abstraction layer for motors, counters, detectors, cryostats, power supplies and other beamline hardware. It is used by Pylatus and other SNBL software.
Purpose
- Unified motor controller interface with support for ICEPAP, Spec, Moco, Bliss and pseudo motors.
- Counter abstraction for Pilatus, Basler, P201, Keithley, Spec counters.
- Serial device handling, scripting and sequencing.
- Drivers for common beamline equipment:
- cryostream, blower, lakeshore, iseg
- Eurotherm, ESI, Mutand
- Keithley instruments
- Basler cameras
- ICEPAP crates
- Logging, experiment metadata, and ICAT integration.
- Python scripting support.
Modules
The library is built from the following submodules, see CMakeLists.txt:
- basler - Basler camera driver and frame handling
- experiment - experiment metadata and timing
- logger - logging and logger singleton
- serialdevice - serial port abstraction
- motor - motor base class, MotorController, assembly, pseudo motor
- scripted - scripted motor actions
- iseg - ISEG power supply
- cryo - cryostream control
- pressure - pressure gauges (ESI)
- eurotherm - Eurotherm temperature controller
- blower - blower control
- mutand - Mutand device
- wrelmove - relative move widget
- lakeshore - Lakeshore temperature controller
- motorscript - motor scripting
- icat - ICAT catalog integration
- keithley - Keithley instruments
- counters - counter abstraction
- icepap - ICEPAP crate driver
- spec - Spec communication
- bliss - Bliss integration
- specmotor - Spec motor
- moco - Moco motor controller
- motorcontrollerconfig - motor controller configuration
- seq - sequence actions
- brainboxes - Brainboxes devices
Build
auxygen is built as part of the Pylatus/Pyxes CMake build. It requires Qt6/Qt5 Widgets Gui Network and C++17.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
Options:
-DNO_PYTHON=1- disable Python scripting-DAUXYGEN_ICAT_NEVER_SEND=1- disable ICAT sending, dump messages to terminal
Python support is enabled automatically if Python3 development packages are found. CMakeLists.txt:14-28
Usage
auxygen is a library, not a standalone program. Include headers and link against the built targets:
- auxygen_logger
- auxygen_motor
- auxygen_counters
- etc.
Example motor usage is in the Pylatus codebase, see pylatus/controller.cpp.
License
GPL-3.0+
Repository
This is a git submodule of pylatus. See https://git.3lp.cx/dyadkin/auxygen