/Rust_Serial_Plotter

A cross-plattform serial monitor/plotter written entirely in rust.

Primary LanguageRustGNU General Public License v3.0GPL-3.0

serial-monitor-rust

A cross-plattform serial monitor/plotter written entirely in rust, the GUI is written using egui.
Inspired by the serial monitor/plotter from the Arduino IDE, but both plotting and reading the traffic can be done simultaneously.
Additionally, the output of the plot and the traffic can be saved to a file (TBD). The window of the plot can also be adjusted.
Data points in the received string between ", " or "," or ":" or ": " that can be parsed into floats will be plotted as lines, everything else will be discarded without raising an error.

Screenshot of the application on macOS

The source code can be run using cargo run or bundled to a platform-executable using cargo bundle.
Currently cargo bundle only supports linux and macOS bundles see github issue. As a work-around we can use cargo wix to create a windows installer.
It can be compiled and run on all platforms. Tested on:

  • MacOS 12.4 Monterey x86
  • ...

On Debian 12 (Testing) the following error occurred:

Error: glib-2.0 was not found in the pkg-config search path.

solved through

sudo apt-get install libgtk-3-dev

One might have to delete the Cargo.lock file before compiling.