[Lazarus] SdpoSerial Tx and Rx buffers?
José Mejuto
joshyfun at gmail.com
Mon Feb 14 21:17:25 CET 2011
Hello Lazarus-List,
Monday, February 14, 2011, 8:32:37 PM, you wrote:
BB> While the transfer runs my program sits and waits for an ACK coming
BB> back from the other end after it has checked the checksum. That is a
BB> loop with Application.Processmessages, Sleep and a timeout...
BB> In a blocking design this wait loop would of course not have been
BB> needed becaus ethe Write would not return until all data have been
BB> written to the output.
So you can send in small chuncks (64 bytes) and give feedback every
250ms.
Or use a "send" thread.
--
Best regards,
José
More information about the Lazarus
mailing list