From Xojo Documentation

Revision as of 19:09, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated|" to "{{DeprecatedItem|")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As SerialPort )
aSerial.SerialPort = newSerialPortValue
SerialPortValue = aSerial.SerialPort

Supported for all project types and targets.

Used to identify the serial port to which the Serial control will communicate.


The code below is from Examples/Communication/Serial/Line State Change Tester:

' Populate the popup menu with all of the
' serial ports the system has installed.
Dim count As Integer
count = System.SerialPortCount

For i As Integer = 0 To count - 1