Com0com Download
Scan performed on 4/25/2017, Computer: Sony VGX-TP1V - Windows 7 64 bit
Outdated or Corrupted drivers:8/20
| Device/Driver | Status | Status Description | Updated By Scanner |
| Motherboards | |||
| Microsoft SiS PCI Express x16 Root Port | Corrupted By Com0com Serial Port Emulator | ||
| Mice And Touchpads | |||
| Synaptics HID-compliant mouse | Up To Date and Functioning | ||
| Microsoft Microsoft USB Basic Optical Mouse (Mouse and Keyboard Center) | Up To Date and Functioning | ||
| Usb Devices | |||
| Microsoft NEC PCI-zu-USB Open Host-Controller | Up To Date and Functioning | ||
| Samsung MTP USB Device | Up To Date and Functioning | ||
| Sound Cards And Media Devices | |||
| NVIDIA NVIDIA GeForce GT 540M (Microsoft Corporation - WDDM v1.2) | Corrupted By Com0com Serial Port Emulator | ||
| AMD AMD SATA Controller | Up To Date and Functioning | ||
| Network Cards | |||
| Ralink 802.11bgn 1T1R Mini Card Wireless Adapter | Corrupted By Com0com Serial Port Emulator | ||
| Keyboards | |||
| Microsoft Keyboard Device Filter | Outdated | ||
| Hard Disk Controller | |||
| Intel(R) 82801DB Ultra ATA Storage Controller - 24CB | Corrupted By Com0com Serial Port Emulator | ||
| Others | |||
| Intel Intel(r) AIM External Flat Panel Driver 2 | Up To Date and Functioning | ||
| O2Micro Standard-CardBus-Controller | Outdated | ||
| National IrDA Fast Infrared Port | Up To Date and Functioning | ||
| Hewlett-Packard psc 1200 (DOT4) | Up To Date and Functioning | ||
| Cameras, Webcams And Scanners | |||
| Brother Brother DCP-115C USB | Up To Date and Functioning | ||
| Video Cards | |||
| Intel(R) HD Graphics 4000 | Corrupted By Com0com Serial Port Emulator | ||
| Input Devices | |||
| Microsoft Microsoft Hardware USB Mouse | Corrupted By Com0com Serial Port Emulator | ||
| Port Devices | |||
| ONDA ONDA USB Enumerator For AT Device | Up To Date and Functioning | ||
| Monitors | |||
| Sony Digital Flat Panel (1024x768) | Up To Date and Functioning | ||
| Mobile Phones And Portable Devices | |||
| Acer NOKIA | Up To Date and Functioning | ||
I'm working on sending datas via COM in C++ for ESPA 4.4.4. A program B connected on a COM port normally detects if the program A sends datas. To test this I have created two virtual ports pair with com0com, COM1/CNCB1, COM2/CNCB2. With hub4com I connected like explained here
But when I try to connect to COM1 or COM2 with A or B, it cannot be done because the port is already in use.
SO my problem is that I want the two ports to communicate.-> First question : is the architecture in the tutorial good to deal with. I mean is it ok to deal with COM1/CNCB1 and COM2/CNCB2 ? -> Second question : the command to connect the two ports is 'hub4com options .input_COM .output_COM1' .output_COM2'..SO I tried to do : 'hub4com -baud=9600 .COM1 .COM2'. The command is valid and I get the following return :
So the road is established and the datas should communicate. But I can't connect on the COM ports with my programs. So i tried to connect on CNCB1 and CNCB2 instead. Nvidia serial number. I can connect on the COM ports. But I don't know if the data have arrived.
-> So third question : is there a reliable way to know if COM1 sends datas to COM2 ? Just a little software would be great, to test the architecture :)
2 Answers
It should be fine, they're just names. If you're going to have a man in the middle type of application, you'd want the data to flow like.. (ProgramA -> COM1 -> CNCB1 -> ProgramB -> COM2 -> CNCB2 -> Destination.) So ProgramB should have ports open for both CNCB1 and COM2.
I'm not too familiar with hub4com to give you an answer for that. It sounds like hub4com is opening the ports up and your application is also trying to open the port up. Only one application can have access to a port.
Sounds like you need a port monitor. http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx
Portmon is discontinued and doesn't work in recent (x64) Windows versions..
So now, in Windows, you can use this nice program: Serial-Lab
I had a similar problem and also used com0com in combination with above mentioned SerialLab. When com0com got installed it created COM3 and COM4 ports and I used those two for testing. In your case it seems you have COM1 and COM2 created by com0com?
In my (Java) application I was then sending data to COM4 while in SerialLab I connected to COM5 and I was able to read the data sent from my Java application. You can also send data from SerialLab, so you can test an simulate communication in all directions.
Another similar program is also MyTerm.