It's a python+pyqt way to catch serial port value.
The picture below is the sensor feedback from arduino by the serial port:
As for catching the data, my structure is below:
I made a fifo data buffer so that I can observe the data stream on the GUI. My data buffer(default:100, and you can change by UI) and GUI are below:
I seperate my GUI into w.ui(design) and logic.py(function),so it's easy to change design.
Saving datas will name by count,and they located in the current place.
Running main.py,and programe will start.