Nov-03-2022, 03:38 PM
(Nov-03-2022, 01:20 PM)deanhystad Wrote: It is easy to try. And if it makes the GUI laggy you can always look into trying threads. I have built Qt apps far more demanding than yours, collecting tens of thousands of signal values a second and having multiple oscilloscope like displays running at the same time. And I am not using doing any threading. But I'm not using a slow serial connection.
The way I understood it from reading online, threading is recommended specifically because the communication is slow and asychronous. In any case I'll definitely try your suggestion, it's all part of learning ;)
shame I won't be able to truly test all this in context before I have rebuilt most of the original application which is a complete mess (think unnecessary operation offloaded to the arduino, huge portions of procedural code executed as subprocesses, global variables everywhere to communicate between processes...)