Waitforready



  • waitforready unable to get data from more than one port, tried using readyread too but its not working as well.



  • Hi catitsb,
    welcome to devnet.
    Can you explain what are you talking about(tcp, serialport,c++, qml)?



  • Trying to do Serial Port communication.
    Trying to read values out of 5 ports in a loop, sometimes it is giving data and sometimes its not. There is no consistency that it will provide values for sure.



  • Can you show code?
    As i understand you have only one serialport object and try read 5 ports, right?
    Do not use loops, use readyRead signal instead. Our discussion could be more productive if you show code.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.