From Xojo Documentation
Gets the serial device by its name.
If you're unsure what the names of the various serial devices are, you can loop through them to get the names. See the example below.
The following displays the names of the serial devices on the computer: