Timers
-
hi sir..
Am unable to speed up the data reading by using timers ..i jst created timers and timer.start(1); i gve but i need to get much more faster than that ..Please help me ..
-
Please explain what do you mean. What data are you reading? From where? Which OS? Which Qt version?
-
timer.start(1) launch something after 1ms but why reading data would be read faster ?...
-
I'm sorry, I still don't understand your problem, so I can't answer/ help. What data are you reading? Where from (network, serial port, file system)?
-
from serial port i need to read the data ..
-
qt 4.8.4 vertion
-
Some people do report it takes time to open the port, so it is better to wait a bit. I have not encountered that problem myself.
For reading, you should use the readyRead() signal from QSerialPort, connect it to your custom slot, and do the reading there. It should work well, at leas tit has in my applications.
-
ha i tried with readRead but also same problem time is not fast ..please help me