Com0com Serial Port Emulators

 admin  

COM ports have been introduced a long time ago and have been an integral part of computers. These days however they become almost obsolete as more and more machines use USB ports or no ports at all. This doesn't eliminate the need for serial connections though, especially if we are talking about industrial equipment, lab devices, etc. Developers creating software to work with industrial devices need to test and debug applications before releasing them. That's where virtual serial port emulation comes into spotlight. If you are looking for a software to create a virtual COM port on Windows 10 or a virtual COM port on Windows 7 read about the virtual serial port emulator software that we consider to be the top solutions currently offered:

Contents

  1. VSPD by Eltima Software

1. Virtual Serial Port Driver developed by Eltima Software allows users to create virtual serial ports that can be connected in pairs via virtual null modem (com0com) cable. Applications communicating with created virtual ports treat those ports the same way they would communicate with real ports. This software solution works on 32- and 64-bit Windows OS and supports operating systems up to the latest Windows 10. Virtual Serial Port Driver is officially signed by Microsoft.


The advantages of Virtual Serial Port by Eltima:

  • Using Virtual Serial Port Driver, you can create as many pairs of virtual COM ports as you want. The pairs are linked by a virtual null modem cable. A nice feature of the software is the ability to delete all of your created pairs with a single click.

  • When creating virtual serial ports with this application you have the ability to name them in any way that you like. You can even use the same names as the system’s physical COM interfaces. A simple search in Device Manager’s “Ports” group will display all of your virtual ports.

  • The virtual serial port emulator enables the virtual COM ports to be re-created when your system is restarted Your configured virtual serial ports are re-established before user login. You can also delete a virtual pair or modify their settings without closing the ports down.

  • All standard hardware signal lines are supported by Virtual Serial Port Driver. This include DTR/DSR/CTS/RTS/DCD/RI, etc. as well as software flow control (Xon/Xoff).

  • Virtual Serial Port Driver also can serve as a null modem emulator. Multiple null modem schemes are available with the tool, and they can be saved as templates for later use. The application lets you emulate a virtual serial line connection and its break.

  • With Dynamic Link Library supplied with VSPD (an OEM License) you can control virtual serial ports directly from your own app. Emulating the ports also gives you an advantage of a faster serial communication, than with a real null-modem cable, solely depending on your processor speed (average is about 5.5 Mbytes/sec)

  • You will not be surprised by any warning messages when performing serial port emulation on Windows 10, Windows Server 16, Windows XP or other Windows variations. This is due to the fact that the drivers are digitally signed by Microsoft and have all passed the Microsoft Windows Hardware Quality Labs (WHQL) tests.

  • Virtual Serial Port Driver is pretty flexible letting you create ports for the current user session only; allowing RDP users to create port with the same name (e.g. COM1) in each user session; letting you delete ports even if they were opened by other apps.

  • VSPD is hyper-threading and VMware friendly.


  • Splitting and Joining Serial Ports - VSPD PRO enables you to split a physical serial port into multiple virtual copies that fully emulate the original interface. This allows you to share a single physical COM port and its attached devices with several applications simultaneously. You can also combine the transmissions from several physical serial ports into a single virtual port allowing the redirection of data from multiple devices to a single application.
  • Creating Serial Port Bundles By creating bundles of physical and virtual serial ports, serial communication between an unlimited number of COM interfaces is made possible
  • Automatic Port Switching - Combine several physical ports into one virtual interface and create a software switcher to offer your application an open serial port on demand.
  • Merging COM Ports - Using this feature of Virtual COM Port Driver PRO you can enable communication between multiple devices and applications simultaneously.

In case you are willing to split a real or virtual COM port data between several applications, check out our tutorial about serial port sharing with VSPD PRO version.

Childish gambino youtube. 2. Null-modem emulator (com0com) is an open source kernel-mode virtual serial port emulator for Windows, distributed under GPL license. One can create an unlimited number of virtual serial port pairs and connect one serial application to another with any created pair. This app can provide serial interface for device emulators and serial port redirectors.

See comparison chart of Virtual Serial Port Driver and Null-Modem Emulator

3. Free Virtual Serial Ports by HDD Software is a Windows user-mode software that offers creation of virtual COM ports and emulation of physical serial ports. This app operates in user-mode exclusively and acts as a hardware COM port with full functionality, baud-rate emulation, configuration of data bits, parity, stop bits, XON/XOFF flow control, etc.

This serial port emulation software works on Windows desktop and server versions up to Windows 8/8.1 32- and 64-bit.

4. Virtual Serial Ports Emulator developed by Eterlogic is the next VSPE solution on our list. It is developed for software developers to create/debug/test applications that use serial ports. Virtualization of ports offers great possibilities: same device can be opened by different apps, physical serial port data can be shared among several applications, a serial port can be shared to local network (via TCP), one can create virtual serial port pairs, etc. This program supports Windows 2000, XP, Vista (32/64), Windows 7. Licenses for 32-bit platforms are offered for free, while 64-bit solution is paid.

5. Virtual Serial Port Kit is developed by FabulaTech and offers virtual serial ports creation with the possibility to connect them via virtual null-modem cables. All information written to one virtual port is immediately available on the other one of the pair. Virtual serial ports function the exact same way as hardware serial ports. This app also runs as system service meaning all virtual ports are available prior to user logon.

Prices and more details are available on developers' websites. Some solutions are free, but will require you to expose your source code when developing an app with them, also not offering support for the latest Windows OS. Some solutions require a payment but in return you receive an up-to-date software with regular updates and dedicated support service. Hopefully this brief overview will help you get the best virtual COM port solution for your project.

COM Port Data Emulator


This software tool allows the user to emulate the data stream generated by a serial interface or device. You can use the application to create data packets and send them to network-connected serial ports. The data packets can be randomly generated or read from a file to enable complete control of their contents.

The program offers flexible configuration options and can serve as a server or client on a TCP/IP network. Full duplex mode and flow control are supported on COM and RS232 ports. Log files of sent data can be saved for future analysis and data is visually displayed as it is sent and received. Developers and network professionals can benefit from the features of this serial communication application.

Virtual Serial Port Driver

Requires: Available on Windows , 5.5MB size
Version 9.0.575 (23rd May, 2019) Release notes
Category: CommunicationApplication
Please enable JavaScript to view the comments powered by Disqus.comments powered by Disqus

I'm developing a project that has a number of hardware sensors connecting to the deployment machine through RS232 serial ports.

But .. I'm developing on a machine without an physical RS232 serial ports, but I would like to make fake serial ports that I can connect to and output data from with the aim of faking input from hardware sensors.

Does anyone know of a way to create a fake serial port and control it on Windows XP?

BefittingTheoremBefittingTheorem

5 Answers

If you are developing for Windows, the com0com project might be, what you are looking for.

It provides pairs of virtual COM ports that are linked via a nullmodem connetion. You can then use your favorite terminal application or whatever you like to send data to one COM port and recieve from the other one.

EDIT:

As Thomas pointed out the project lacks of a signed driver, which is especially problematic on certain Windows version (e.g. Windows 7 x64).

There are a couple of unofficial com0com versions around that do contain a signed driver. One recent verion (3.0.0.0) can be downloaded e.g. from here.

Frank BollackFrank Bollack

I know this is an old post, but in case someone else happens upon this question, one good option is Virtual Serial Port Emulator (VSPE) from EterlogicIt provides an API for creating kernel mode virtual comport devices, i.e. connectors, mappers, splitters etc.
However, some of the advertised capabilities were reallynot capabilitiesat all.

EDIT
A much better choice, Eltima. This product is fully baked. Good developer tech support. The product did all it claimed to do. Product options include both desktop applications, as well as software development kits with APIs.

Neither of these products are open source, or free. However, as other posts here have pointed out, there are other options. Here is a list of various serial utilities:

com0com (current)
com0com - With Signed Driver (old version)
and, yet another place for com0com with Signed Driver(Pete's Blog)
Tactical Software
Termite
COM Port Serial Emulator
Kermit (obsolete, but still downloadable)
HWVSP3
HHD Software (free edition)

ryykerryyker

I use com0com - With Signed Driver, on windows 7 x64 to emulate COM3 AND COM4 as a pair.

Then i use COM Dataport Emulator to recieve from COM4.

Then i open COM3 with the app im developping (c#) and send data to COM3.

The data sent thru COM3 is received by COM4 and shown by 'COM Dataport Emulator' who can also send back a response (not automated).

So with this 2 great programs i managed to emulate Serial RS-232 comunication.

Hope it helps.

License Key Lookup. Serial Number. Primary Contact Email. This email address must match what is on the license certificate. Enter your email address and set your subscription preferences below to get Bluebeam news, product updates, tips & tricks and special publications. Finding bluebeam product key.

Both programs are free!!!!!

Jhollman CutcsaJhollman Cutcsa

Transformers movie 4k download. Another alternative, even though the OP did not ask for it:

There exist usb-to-serial adapters. Depending on the type of adapter, you may also need a nullmodem cable, too.

They are extremely easy to use under linux, work under windows, too, if you have got working drivers installed.

That way you can work directly with the sensors, and you do not have to try and emulate data. That way you are maybe even save from building an anemic system.(Due to your emulated data inputs not covering all cases, leading you to a brittle system.)

Its often better to work with the real stuff.

sjassjas

There's always the hardware route. Purchase two USB to serial converters, and connect them via a NULL modem.

Pro tips:1) Windows may assign new COM ports to the adapters after every device sleep or reboot.2) The market leaders in chips for USB to serial are Prolific and FTDI. Both companies are battling knockoffs, and may be blocked in future official Windows drivers. The Linux drivers however work fine with the clones.

BryceBryce

Not the answer you're looking for? Browse other questions tagged windowsmockingserial-porthardware-interfacevirtual-serial-port or ask your own question.

   Coments are closed