Serial.XmitWait

From Xojo Documentation

Method

Serial.XmitWait()

Supported for all project types and targets.

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

Example

Serial1.XmitWait