This application is designed for the company PEG and is written in Python. Its core functionalities are built using the pymodbus library for device communication and the PyQt6 library for the graphical user interface (GUI). The application facilitates reading and writing data from the device through a serial client. It is structured into four main components: the menubar, toolbar, communication, and values table.
Tip
Using a MakeFile is recommended as it automates repetitive tasks such as building, testing, and deployment.
Library | Version |
---|---|
pymodbus | v3.6.9 |
pandas | v2.2.2 |
pyserial | v3.5 |
numpy | v2.0.0 |
PyQt6 | v.6.7.0 |
make install
pip install -r requirements.txt
pip3 install -r requirements.txt
Note
Using venv isolates project dependencies, preventing conflicts and keeping your global Python environment clean.
python -m venv .venv
.venv/bin/pip3 install -r requirements.txt
python3 -m venv .venv
.venv/bin/pip3 install -r requirements.txt
Warning
It works only if you make setup throve MakeFile or Manually + .venv
make run
Warning
It works only if you make setup manually as well.
python src/run.py
python3 src/run.py
Warning
It works only if you make setup throve MakeFile or Manually + .venv
.venv/bin/python3 src/run.py
Important
Only if you were using MakeFile or .venv
make clean
.venv/bin/python3 src/run.py