I am developing a data monitor using PyQt5. I need to read from multiple sensors through serial ports. One or two of the sensors require different commands to send and then read the data, while the rest send data at a fixed speed.
How can I monitor multiple ports without interrupting the UI? I don't know if I should use QThread, threading, multiprocessing, subprocesses, or any other technique. I'm not trying to ask an opinionated question, and if these all "work," then what are the relevant pros and cons of each technique?
I am really struggling to find information on what I am doing. It is very frustrating, as my problem seems so simple, but I can't find any relevant projects, examples, or tutorials. A point in the right direction would be great.