Qt Datalogger

Qt Datalogger

NEW
Python
Qt
C++
Go To Project URL

Description

In this project I used qt6 via pyside6 and pyqtgraph to implement the UI.

The serial interface is developed, for now, with python’s serial library, encoding the data with the cobs protocol.

The entire python package is then compiled, through a GitHub Action, into a Windows executable, to make it self-contained, and hopefully a little faster.

The application supports configurable plotting and data packets through the file struct_cfg.yaml, where it is possible to specify which subplots to show, which data to display in them, and also the data type that is expected to receive.

struct_cfg.yaml
%YAML 1.2
---
- accel_data: { a_x: float, a_y: float, a_z: float }
- other_data: { a: float }
# - subplot3: { data: float }
# - subplot4: { data: int }

Future developments

Future work includes the addition of UDP as communication protocol, in order to read and log debug signals over Wi-Fi.

Moreover, this whole project would benefit from a total rewrite in C++ with direct Qt usage, so this activity is in the backlog.

Logo

© 2024 Marco Perin