TCnSerialPort.Open Method

Opens a new serial port connection.

Namespace: CNClrLib.Component.SerialPort
public
 procedure Open;

Only one open connection can exist per SerialPort object.

The best practice for any application is to wait for some amount of time after calling the Close method before attempting to call the Open method, as the port may not be closed instantly.