Nothing changed when i delete the QueuedConnection. I didn't put it on purpose. Just trying what i see on forums.
Added after 7 minutes:
Hi again. I'm aware of losing byte because of "remain" but it is just 1 byte per package. (1 package loss in 500) But i tried your approach. I'm readAll to data to ArrayBuffer and i'm arranging my NumberOfBytesToRead = ArrayBuffer.size();
Actually it became more stable. But i got a problem now like that. First 2500 number is coming without any error then it is going like this : after 2500(number) is recevied -> 3500..3700 -> 7500..7800 -> 11000..12000 -> etc
I'm losing package in somewhere else and it became periodic.
I tried what marcos.miranda said. Baudrate is still 600000 but flow control seems logical. When i tried softwareflowcontrol USB Serial Port stucks and not opening again or closing or receiving or sending data. I'm restarting pc and trying it again and it is same like this. Couldnt understand what's going on about flow control.
Bookmarks