SerialConnection.DataReceived
From Xojo Documentation
Event
Occurs when additional data has been received.
Notes
It is your responsibility to read the received data using Read or ReadAll methods.
This event is reentrant which means you should not process the data you have received in this event. Instead, copy it into a property and then use a Timer to process the data. Specifically, use Timer.CallLater method. |