DataReceived Event
Triggered when a character is received and placed in the buffer.
Syntax
Visual Basic
Private Sub PortControllerObject_DataReceived()
Visual C++
void CMyWindowName::OnDataReceivedPortcontroller()
Delphi
procedure PortControllerObjectDataReceived(Sender: TObject);
Remarks
This event may not be fired for every character when incoming data is received rapidly.
When using this event to read data from the queue, do not assume that there is one character for each event received.
Check the actual number of characters in the queue by checking the BytesUsedRQ property.
See Using PortController Events for information and instructions regarding PortController event handling.
Errors
None
See Also
Read(), Using PortController Events, Handling Events in Visual C++,
Handling Events in Visual Basic, Handling Events in Delphi
|