How to set a correct RS422 serial port communication
Unsolved
General and Desktop
-
Hi
I have written a simple RS422 serial port (which is connected to MOXA) program.
I set the settings and then opens the port.
There is two problems- If I am in debugging mode and terminate the program before closing the port, my program never finishes until I restart my computer.
- I send my packet but I don't get the response while when I write a program with same setting in c#, I don't have no problem.
I will appreciate if help me
-
There is no difference on OS level between RS232 and RS422/485. What exact Qt version do you use? Please use the latest Qt5 or Qt6 version.
-
Qt 5.9.5
Qt Creator 4.5.2 -
I would try with a more recent version of Qt but doubt it's really a Qt problem but more a driver problem.