Com0com + com2tcp virtual serial COM port How to use and ...

Virtual serial port COM using com0com and com2tcp utilities

com0com + com2tcp virtual serial COM port How to use and configurate

Version 1.1

23 nov 2007

pag 1 di 9

Virtual serial port COM using com0com and com2tcp utilities

SUMMARY

1 Foreword ................................................................................................................................................ 3 2 Installing com0com ................................................................................................................................ 4 3 Adding new port twins ........................................................................................................................... 6 4 Using com2tcp........................................................................................................................................ 8

Version 1.1

23 nov 2007

pag 2 di 9

Virtual serial port COM using com0com and com2tcp utilities

1 Foreword

The com0com tool is a open source program to be found on:

With com0com one can install couples of twins connected virtual serial ports that can be used to test programs that use serial ports, even if ports are not physically available.

Single PC

With the com2tcp tool it is possibile to connect one virtual serial port to the TCP/IP network. Is it then possible to test application running on different PC.

Program A

Program B

Virtual serial port have CNCAx and CNCBx as default name. This default name can be changed at the installation time or later. Virtual ports are always created in couple.

CNCA0 CNCB0 TCP/IP

Using the com2tcp tool it is possible to test programs running on different PC.

First PC Program A

Com2tcp CNCA0 CNCB0

TCP/IP

Second PC Program B

Com2tcp CNCA0 CNCB0

Version 1.1

23 nov 2007

pag 3 di 9

Virtual serial port COM using com0com and com2tcp utilities

2 Installing com0com

? Download the com0com package (zip file) from ? Open the zip file and expand the com0com installation folder. ? Run the setup.exe program.

Version 1.1

23 nov 2007

pag 4 di 9

Virtual serial port COM using com0com and com2tcp utilities

At first installation time, and later when other ports will be added, the standard add device dialog box will appear:

Repeat this sequence everytime that you add some other virtual port twins.

Version 1.1

23 nov 2007

pag 5 di 9

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download