But with TSdpoSerial I can't find any such property as TxWaiting or
similar to check.
Is it not needed or possible? Maybe the component can handle any size
string I send to it without choking?

But what about the user feedback? I would really want to be able to
show the actual data flow to the user in a progress bar since the
whole operation takes considerable time.
So how can I know how many bytes have actually left the transmit
buffer (or how many that still remain to be sent).

TSdpoSerial exposes a property SynSer: TBlockSerial where there are more methods like:
    function SendingData: integer; virtual;
    {:Returns the number of bytes waiting to be sent in the output buffer.
     0 is returned when the output buffer is empty.}

Probably it is what you need.

Paulo Costa

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to