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 4
- Windows Part: 1001 to 1008
If All is specified, the task will close all the open RS-232C ports.
See Also
ChkCom Function, OpenCom Statement
CloseCom Statement Example
CloseCom #1