A web based UI framework for data acquisition and beamline control

Daiquiri1 is a web based UI framework for control system monitoring and data acquisition. It provides simple, intuitive, and responsive interfaces to control and monitor hardware, launch acquisition sequences, and manage associated metadata. Daiquiri concerns itself only with the UI layer, it does not provide a scan engine or controls system but can be easily integrated with existing systems.

Full-featured

  • Multi-user

    Multi-user, single point of control via a request response control system

  • Modular

    Modular in design, load only components relevant for a specific beamline

  • Dynamic Layout

    Multiple layout support with layouts dynamically defined in a simple yaml format

  • Remote Access

    Designed from the ground up for remote access

  • Queue

    Simple queue system to allow unattended data collection

  • Decoupled

    Completely decoupled from the underlying controls system

In Use

Daiquiri enforces login with valid credentials and only allows access if beamtime is scehduled from a User Office system. Staff have elevated privileges.

Daiquiri can be configured with a variety of components, below shown is a fairly common UI component for a visual light microscope. It is possible to navigate the sample on click, mark regions and points, enqueue data collection, and generate in real time maps from resulting data.

Essential MonitoringAction QueueSample ListCollection HistoryLog / Session / Chat PanelMonitor / Move HardwareMicroscope ViewMarked RegionsXray MapData Collection ListMap List
ID21 Visible Light Microscope

Synoptic

Daiquiri provides a synoptic component and UI widgets for a variety of standard beamline hardware. The schematic synoptic images can be generated from a simple yaml definition using the helper package svg-synoptic.

Schematic SynopticGroup Status (Green = ok)Annotate components with valueFront End Control
Basic Synoptic View

Scan Viewer

Daiquiri provides some basic components to view resulting scan data in real time and interact with it. This includes 0d and 1d data, as well as basic support for viewing images from 2d cameras.

Scan List0d Data with 1 or 2 axes1d Data (e.g. Spectra)2d Data (e.g. Camera Image)
Scan Data Viewer

mimosa: Passive Real-time Monitoring and Offline Review

Daiquiri makes use of mimosa-database for storing its associated metadata and information from User Office systems. Data acquisition can be monitored in real-time using the mimosa web application. It can also be used for short term sample review.

sidecar: Automated Online Data Processing

Daiquiri also has support for the ESRF workflow system ewoks via sidecar to allow for automated data processing. This means that daiquiri can trigger processing, results are written to the database by sidecar, and ewoks can then notify daiquiri that a job has finished. Then daiquiri can read the results back from the database, without the need for polling.

References