Serial Port Emulator Windows 7

 Posted admin
  1. Serial Port Emulator Windows 7 1
  2. Windows Terminal Emulator Serial Port
Serial
  • I have software that can only print to a printer on COMx, a printer with a USB port, and a computer with a USB port but no serial ports, so the oft-suggested physical Serial-to-USB adapter isn't a solution. I'm looking for software that tricks Windows 7 into mapping a virtual COM port to a physical USB port.
  • This device implements the CDC services that are required to make a simple serial connection and under XP the driver was simply an INF which instructed the OS to create a virtual serial port using the standard USB drivers.

Serial Port Emulator Windows 7 1

HyperTerminal was a sweet little program that let you connect to other computers, Telnet sites, host computers, BBSs, etc. Using your modem or Ethernet connection. In Windows 7, Vista, and 10, you will no longer find the HyperTerminal program. If you need HyperTerminal to control serial devices, there is a way to get it back!

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.

Windows Terminal Emulator Serial Port

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).

Double beat rune suikoden 2 gameshark. Recipe 24 - Fried Rice Win from 5th rival chef. Recipe 21 - Grilled Fish Win from the Landsharks in Two River's sewers. Recipe 23 - Rice Omelet Lucky find in Two River's Shops. Recipe 20 - Tempura Get from a person in Greenhill's inn. Recipe 22 - Gratin Prize from the 6th rival chef.

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.

Both programs are free!!!!!

Jhollman CutcsaJhollman Cutcsa

Harga modem 4g telkomsel. 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.