[Solved]Abnormal signal of QSerialPort
-
Hi guys:
Recently, I used QSerialPort module in my project and i found something is weird. Whenever I replug-in serial port to computer, the sending data from QT using QSerialPort is abnormal, next I use project by C# open comport and send, the data is correct. And I change back Qt project again, doing the thing as same as first I tried, the sending data is correct.
I have tried about more than 3 times, this situation was keeping to exist. Does anyone know why or have same experience like me? Thanks for responds in advance.BTW, the related functions about QSerialPort are all return true, it means the function really did right things I program.
-
Also please use open() before setXX() methods in case you use Qt 5.2. and to check your return values again.
-
Then please provide an minimal example to reproduce an problem. Besides, please specify your type of serial port (what chip?)
-
But in my computer, the same issue still exist.
Only you himself can to help itself to solve this problem.
Btw, the FTDI devices should be work fine.. You can try to update an FTDI driver and so on..