Listen to RS232

Hello Experts.
I have a Program that is running and writting to the RS232 Comm Port. I do not have the source to that program.
I need a program - running on the same machine - that can 'Listen' to the Comm Port.
Can you please assist me ?
Thanks
HESUSAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

stesomCommented:
I know where you're comming from, I was in the exact same situation a while ago.
I used the free edition of the following listener: http://www.serial-port-monitor.com/
0
HESUSAuthor Commented:
Thanks, but I need myown code so I can use the data I read, for another application.
0
huferryCommented:
Normally you'll need a machine with 2 com ports and a cross cable. The writting program can use COM1 and the listening program can use COM2. You have to cross the two hardware COM ports using a cross serial cable. Make sure that both programs are connected using the same baudrate, number of bits, etc.

An alternative, if you don't have hardware COM ports you can use a program that creates virtual COM ports and transfer the data using TCP/IP. I have use one of those:

http://www.hw-group.com/products/hw_vsp/index_en.html

You can run the program twice and sets,

Program 1, creates COM3 and acts as a TCP server that listen to port 9000.
Program 2, creates COM4 and connects to 127.0.0.1 on port 9000 (it's important that you start the server first).

If you've done this you'll have COM3 and COM4 virtually and crossed each other.
Then you can start your applications which use the serial port and connect them to COM3 and COM4.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HESUSAuthor Commented:
Thank you very much.
I am looking for an option to write the code myself, using Delphi or C. Then I can be much more flexible with the data, and make it as part of another program.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.