CloseCom Statement

Closes the RS-232C port that has been opened with OpenCom.

Syntax
CloseCom #portNumber | All

Parameters

portNumber
Specify the RS-232C port number to close.

  • Real Part: 1 to 8
  • Windows Part: 1001 to 1008

If All is specified, the task will close all the open RS-232C ports.

See Also
ChkCom, OpenCom

CloseCom Statement Example

CloseCom Function #1