SMuK 2023 – wissenschaftliches Programm
Bereiche | Tage | Auswahl | Suche | Aktualisierungen | Downloads | Hilfe
AGI: Arbeitsgruppe Information
AGI 2: Hacky Hour (joint session AKjDPG/AGI)
AGI 2.5: Vortrag
Donnerstag, 23. März 2023, 16:45–17:30, ZEU/0148
Interactive USB measurement device controlling with Python — •Benedikt Bieringer — Institute for Nuclear Physics, University of Münster
Although USB devices are central part of most lab experiments, in many cases their use is significantly limited by the provided manufacturers' software and drivers. This talk covers writing a (graphical) readout and controlling software in Python both by using proprietary drivers and by writing own user-space Python-based drivers in cases where the manufacturers' drivers limit the usage potential of the USB device. It gives an overview over writing Python modules for existing drivers in C++, writing USB drivers in Python using PyUSB by analyzing USB packets with Wireshark and writing an interactive plotting and controlling GUI with PyQt and PyQtGraph.