the following test hangs,or at least stop receiving no matter what, if you send quick more data in queue, working perfect under windows
note that it is testing WITHOUT timeout, and with FTDI proven reliable to other bug.
Code: Select all
OpenSerialPort(1, "COM18")
Repeat
CheckEvents()
Wait(1)
serdata$,count = ReadSerialData(1, 1)
Print(serdata$)
Until 0
but if you send one after one byte it does
also under some circumenstances data do nto arrive at all, and need to resend, but i have not track down exact reason for this