|
PortController.NET
PortController Events
PortController events are signals that PortController sends to your application when something interesting on the port has occurred. For example, when data is received in the incoming buffer you can use PortController's DataReceived event to call your application's read function.
A powerful technique for reading from the port is to handle the EventCharReceived that is fired when a specific character is received in the incoming buffer. This is useful if you are reading formatted data that is delimited by a character such as a newline or a comma. When the delimiter you specify is received on the line, PortController fires the event and optionally reads the data from the incoming buffer and supplies it to your handling function.
The complete list of events fired by PortController is as follows:
|