Printable Version | Subscribe | Add to Favourites
New Topic New Poll New Reply
Author: Subject: Serial port monitoring
bigandy

posted on 20/10/05 at 06:47 PM Reply With Quote
Serial port monitoring

Evening all.

I'm looking for a way to monitor a serial port, to see what data is being sent through it (sent and received) by another program. I'm trying to figure out the communications protocol between a battery charger I have (for RC batteries) and a bit of logging software that sits on a PC, and reads what the charger is doing via the rs-232 port on a pc.

The bit of software is only available for windows and I would like to find a way of logging the battery on charge/discharge whilst I am stood in a field flying my RC planes. The obvious method for me to use would be to connect the charger to the serial port of my PDA, but there is no logging software available, so I need to come up with something myself.

The easiest way for me to see what is going on is to be able to spy on the serial port, to see what is being sent/received. Then I can emulate that on a PDA, and be able to log the data away from a PC.

So, does anyone know of any decent (free if poss!) software that can do this?

Cheers
Andy





Dammit! Too many decisions....

View User's Profile E-Mail User View All Posts By User U2U Member
steve_gus

posted on 20/10/05 at 06:55 PM Reply With Quote
It might be possible to connect a second rs232 receive port across the tx line that your trying to monitor and capture the data from that.

Hyperterminal (come with windows as an optional install - dunno if its with xp tho) might be able to capture tha data for you.

atb

steve





http://www.locostbuilder.co.uk

Just knock off the 's'!

View User's Profile E-Mail User Visit User's Homepage View All Posts By User U2U Member
bigandy

posted on 20/10/05 at 07:47 PM Reply With Quote
HI Steve,

Yeah, I thought about using hyperterminal, but if I open it up and set it to read the COM port the charger is connected to, the windows software that logs the output of the charger says the com port is not accessible (may be in use by another program).

I did wonder about trying to monitor the serial cable lines using hardware (i.e. splicing another socket in that can see what is being sent/received) but I was rather hoping it could be done in software to save the hassle of messing with hardware!

Cheers
Andy





Dammit! Too many decisions....

View User's Profile E-Mail User View All Posts By User U2U Member
mookaloid

posted on 20/10/05 at 09:18 PM Reply With Quote
I used to get asked this question when I worked in network consultancy - basically you can do it but you need something like £10k of kit. It uses a Y cable and some dedicated expensive hardware and custom software.

There doesn't seem to be a cheap way of doing it......unless you Linux boys out there know different

Cheers

Mark

View User's Profile E-Mail User View All Posts By User U2U Member
Jumpy Guy

posted on 21/10/05 at 08:37 AM Reply With Quote
we do it often at work- a large part of my job is connecting various pieces of kit on older comms systems, 232, 485, 422

but you need some kit to do it, so I'm not adding anything useful to the discussion!

I'm pretty sure you can configure hyperterminal to use pass through mode, whihc shouldnt hold the other port open ...

View User's Profile View All Posts By User U2U Member
Rek

posted on 21/10/05 at 09:05 AM Reply With Quote
http://www.hhdsoftware.com/sermon.html

Not free but you can try it

View User's Profile Visit User's Homepage View All Posts By User U2U Member

New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.