CloseSerialPort()

Syntax

CloseSerialPort(#SerialPort)
Description
Closes the serial port previously opened with OpenSerialPort().

Parameters

#SerialPort The serial port to close. If #PB_All is specified, all the remaining serial ports are freed.

Return value

None.

Remarks

All remaining opened serial ports are automatically closed when the program ends.

Supported OS

All

<- AvailableSerialPortOutput() - SerialPort Index - GetSerialPortStatus() ->