Hi,
Are you executing the write and read sequentially?
You have to wait some time until there is data on the port. You can use a timer that will call a slot where you have to read the data or use a QThread to perfrom read and write with a "msleep" that will wait some time.
The sleep time needed can be calculated with the baud rate.
Bookmarks