|
PortController.NET
OnEventCharReceived Event
Triggered when the event character is received in the input buffer.
Syntax
[Visual Basic]
Private Sub myPortController_OnEventCharReceived(ByVal sender As Object, ByVal e As SciCom.PortController.EventCharReceivedEventArgs) Handles myPortController.OnEventCharReceived
[C#]
private void OnEventCharReceived(object sender, SciCom.PortController.EventCharReceivedEventArgs e)
[C++]
System::Void OnEventCharReceived(System::Object * sender, SciCom::PortController::EventCharReceivedEventArgs * e)
Parameters
sender
A reference to the PortController object.
e
The arguments associated with the event.
Arguments
strReadBuffer: a String that holds the data read up to and including the event character
Remarks
Setting the property EnableReadOnEventChar to true will cause all data up to and including the first occurrence of the event character in the receive queue to be read when the event character is received.
See Also
EnableReadOnEventChar property | EventChar property
|