PortOpen
Previous  Next

Gets or sets the state of the serial port.
Syntax: PortOpen

It is recommended to close the ports before the end of the program.
Example:
serial1.PortOpen = true