On 09/08/2017 04:34 AM, Bo Berglund wrote:
Next I unchecked the checkbox before doing the long transfer, and
lo-and-behold(!) now there are no losses anymore!
So the action of writing text to the listbox in the LogHex function
was actually causing the application to lose incoming serial data!
this tells you right off that you should have at least XON/XOFF flow control so
the receiver can tell the sender to hold up a second and let it get the buffer
worked down... at least this with good buffer level monitoring...
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list unless*
*a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal