PDA

View Full Version : Defining COM-2



Ramius
- 11th May 2011, 00:27
There is a demo program that sends serial data out on COM-1. I would love to see what data this program is sending. Is it possible to somehow define COM-2 as a file of sometype to record the data being sent?

mister_e
- 11th May 2011, 02:45
You'll need to be more specific in your requirement.

Do you already heard of some Serial Port Sniffer software? That's what I would use, assuming I understand your requirement. http://www.hhdsoftware.com/serial-monitor

you could also build your own, just grab the Data, display it on a LCD,...or sending it on a USB port, and create your own software... does it really worth it knowing it cost 60$ ish for a decent really to go version?!? It's up to you to decide.

HenrikOlsson
- 11th May 2011, 06:13
Or, if you know that it sends ASCII you can simply wire COM1 to COM2 with a crossed cable and capture it with the terminal emulator of choice. You may find an emulator that can display in HEX or whatever.

/Henrik.

mister_e
- 11th May 2011, 07:23
the main advantage of the sniffer is you don't need to bother with the COM settings, it will even display the one in use.

Ramius
- 11th May 2011, 12:35
Thanks! :)