Serial.Open

From Xojo Documentation

Method

Serial.Open() As Boolean

Supported for all project types and targets.

Attempts to open the serial port. Returns True if the port was opened and False if it was not.