Python with asyncio - Artemis LabVIEW™ Migration

18 Mar 2024, 16:15
30m
SB 1 1.201 Hoersaal

SB 1 1.201 Hoersaal

GSI - Helmholtzzentrum für Schwerionenforschung GmbH

Speakers

Mr Dennis Klein (GSI Helmholtzzentrum für Schwerionenforschung GmbH) Holger Brand (GSI Helmholtzzentrum Für Schwerionenforschung GmbH)

Description

The future licensing, development and support of LabVIEW™ platform by National Instruments in the domain of academia and research is uncertain. Therefore the need for migration of LabVIEW projects to other platforms gain momentum. Python is a popular programming language and a possible alternative that enables effective system integration. Most control systems in the experiment control system domain are focusing on instrument control and monitoring, hence are I/O driven applications. Asynchronous I/O in Python can be handled effectively using asyncio module which in part of Python’s standard library enabling to write code using co-routines and the async/await syntax implementing a cooperative multi-tasking. This talk will give an introduction to this programming paradigm. The migration of a LabVIEW™ VI monitoring the cryostat of the Artemis ion-trap experiment utilizing Python’s asyncio together with MQTT, Telegraf, InfluxDB and Grafana will be shown.

Primary authors

Mr Dennis Klein (GSI Helmholtzzentrum für Schwerionenforschung GmbH) Holger Brand (GSI Helmholtzzentrum Für Schwerionenforschung GmbH)

Presentation materials