RTGraph
RTGraph copied to clipboard
A simple Python application for plotting and storing data in real time
RTGraph
A simple Python application for plotting and storing data from a serial port in real time, formatted as CSV. The application uses the mutliprocessing package to allow better usage of the host resources, overcoming limitations such as GIL in Python.
Dependencies
- Python 3 (3.2 or later).
- PyQt5.
- PySerial.
- PyQtGraph.
Installation instructions
Using Anaconda or Miniconda (Windows, macOS, Linux)
- Install Anaconda or Miniconda. Remember to add conda to your path.
- Open a terminal and type:
-
conda install pyqtgraph pyserial
-
Using Pip (Windows, macOS, Linux)
- Verify you have installed pip.
- Open a terminal and type:
-
pip install PyQt5 pyqtgraph pyserial
-
Linux (Apt based distros)
- Open a terminal and type:
-
sudo apt-get install python3-pyqt5 python3-pyqtgraph python3-serial
-
Usage
From a terminal, on the root folder of the project, run:
-
python -m rtgraph
Links
License and Citations
The project is distributed under MIT License. A DOI is attached to the project for citations.