Author Topic: How to monitor Serial COM port when a device is connected to it?  (Read 12200 times)

az00024

  • Member
  • ***
  • Posts: 1
I am trying to develop a software that can send commands to a Radio Packet TNC (Terminal Node Controller). The TNC is connected to one of the COM ports. As there is no specific documentation available for the TNC, I am not sure about the command syntax for the TNC. In order to send the command through the TNC I am using RealTerm software. When I type in something in RealTerm and press ENTER. The command is sent through the transceiver via TNC but If I send a anything on that COM port (on which the TNC is connected) using a simple Visual Basic Program that just opens the port and sends the data on the port, I don't see any response from the TNC as well as the Transceiver as it was in case of RealTerm.

I was wondering if anyone can help me monitor the COM port while I send commands through RealTerm and see the response of the TNC as the TNC sends some packets back to the RealTerm as an acknowledgement. Is there any software that can help me do that, so that I can see what kind of data is sent along with the command to the TNC by the RealTerm?

I tried to use Virtual COM port software, where I created a virtual COM port and bridged it with the physical COM port (on which the TNC is connected) and then monitored the virtual COM port as I expected that any data going in and out of the physical COM port would be visible through the Virtual COM port, but if a device is connected to the physical COM port, the bridging doesn't work.

Can anyone help me out on this????

Thanks,

Adnan

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 2737
    • Lakeview Research
Re: How to monitor Serial COM port when a device is connected to it?
« Reply #1 on: August 08, 2012, 09:26:34 am »
Scroll down to "other tools" here for several options:

http://www.lvr.com/serport.htm#software

HDowns

  • Member
  • ***
  • Posts: 14
Re: How to monitor Serial COM port when a device is connected to it?
« Reply #2 on: August 08, 2012, 11:28:44 am »
You don't need a virtual serial port software. You need a tool like Advanced Serial Port Monitor in the Spy mode. There's a demo period, which may be enough time to do what you want to do.

GlennP

  • Frequent Contributor
  • ****
  • Posts: 141
Re: How to monitor Serial COM port when a device is connected to it?
« Reply #3 on: August 13, 2012, 08:50:10 am »
I have some interesting issues with Advanced Serial Port Monitor, PC resets, random characters appear, this is due to my PC being on it's way out. I have used HDD Free Serial Port Monitor with out issue for some time from
www.hddsoftware.com I believe it is free and wont time out on you!
Glenn

DavidTurner

  • Member
  • ***
  • Posts: 1
Re: How to monitor Serial COM port when a device is connected to it?
« Reply #4 on: October 14, 2013, 10:44:24 am »
Old question, but very relevant. While serial ports may be gone from consumer devices these days, it is still very much used in industrial hardware, point of sale hardware, radios, etc. In my case I was trying to capture a communications session from a configuration software tool for some hardware equipment.

In the end I found a commercial app from Eltima Software called Serial Port Monitor which did the trick for me on Windows 7 x64.
Link - http://www.eltima.com/products/serial-port-monitor/

ruutboy

  • Member
  • ***
  • Posts: 19
Re: How to monitor Serial COM port when a device is connected to it?
« Reply #5 on: November 24, 2013, 10:23:38 am »
This should be dead simple (so says the guy who has blown up more than one OS mucking around with the serial port :) ).

Could you post your vb code here? Just the part that converts the string and send it out. Thanks.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 2737
    • Lakeview Research
« Last Edit: March 28, 2018, 08:14:27 pm by Jan Axelson »

jmccabe

  • Member
  • ***
  • Posts: 6
Re: How to monitor Serial COM port when a device is connected to it?
« Reply #7 on: March 28, 2018, 05:01:13 pm »
If you're not using 64 bit, you can use Eterlogic's VSPE (http://www.eterlogic.com/Products.VSPE.html) and create splitters that allow multiple applications to connect to the same virtual port. I used this a fair amount and it's reasonably good but, if you're using 64 bit you need to buy it. I tried using the virtual null modem cable with VSPE, but we had some issues with it compared to Eltima VSPD.

Alternatively you could look at HHD Device Monitoring Studio which could be expensive, but can be used free of charge if you're happy to accept its limitations (I think it's got a 20min session limit, and limited features in the free version).

HTH
John