Hi!
I am working on a Qt data acquisition application which receives data from serialport and plots it on the gui in realtime (+some basic calculations). The data is collected at 40Hz by the hardware, which sends out the buffered data in every 500 ms (20 sample points = 166 bytes). My initial baudrate was 115200. So far so good, it is working flawlessly.
Now, since 500ms plot refresh is kinda sluggish, I’d like to send the packets more often, at every 100ms which is 4 samplepoints (~30bytes). I modified the firmware accordingly however my Qt app started dropping packets. I changed the baudrate to 921600 to no avail.
Before spawning a worker thread and all that misery I’d like to ask when the readyread signal is actually fired? At every received byte or is there any threshold to be set?
Thank you.
↧