Die DPG-Frühjahrstagung in Bonn musste abgesagt werden! Lesen Sie mehr ...
Bereiche | Tage | Auswahl | Suche | Aktualisierungen | Downloads | Hilfe
AGI: Arbeitsgruppe Information
AGI 3: Hacky Hour (with AKjDPG) (joint session AGI/AKjDPG)
AGI 3.2: Vortrag
Donnerstag, 2. April 2020, 11:30–12:00, L-4.001
Python based USB device controlling — •Benedikt Bieringer — Institut für Kernphysik, Uni Münster, Germany
USB devices are a main part of practically every physics experiment. In this talk, multiple ways of writing a graphical device readout and control software for USB devices in Python are demonstrated. While the use of proprietary drivers is presented, also self-written, user-space Python USB drivers are introduced as a tool to minimizing software and hardware requirements. This talk gives an overview over writing Python modules in C++, writing USB drivers in Python, analyzing USB packets using Wireshark, writing a user-space driver with PyUSB and writing a GUI software with updating plots in Python.