i talking about communication using system.io.port
i saw that there's an event for data recieved
is there an event for data sending finished (data send buffer empty)?
if no event exist can someone explain me why?
Thank you
Avi
Basic Question about Events in RS232 for c#
Started by avibiter, Mar 15 2009 01:20 AM
1 reply to this topic
#1
Posted 15 March 2009 - 01:20 AM
|
|
|
#2
Posted 15 March 2009 - 10:39 AM
Do you mean System.IO.Ports.SerialPort class? If yes, then I can only suggest the following: :cool:
1. You could check BytesToWrite member periodically is the send buffer empty already. But this is not an event, as you asked for. I haven't found such event.
As to why there is no such event... No one at Microsoft troubled to add such an event, obviously. Not so much of an answer tough.
1. You could check BytesToWrite member periodically is the send buffer empty already. But this is not an event, as you asked for. I haven't found such event.
As to why there is no such event... No one at Microsoft troubled to add such an event, obviously. Not so much of an answer tough.


Sign In
Create Account

Back to top









