SerialConnection.XmitWait

From Xojo Documentation

Method

SerialConnection.XmitWait()

New in 2019r2

Supported for all project types and targets.

Waits until all data sent to the serial connection with the Write method has been sent.

Example

SerialConnection1.XmitWait