TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jeffrey Habets
from: Rob Hamerling
date: 1997-01-16 21:52:32
subject: Monitoring data send/received on com-port

Referring to your msg of 14 Jan 1997:

Hi Jeffrey.

 JH> I would like to monitor all incoming and/or outgoing data on the
 JH> serial port. Now, that wouldn't be to difficult if my program was
 JH> the only one using the com-port, but the case is that my program is
 JH> the 'third-party' and an other program is taking care of
 JH> communication.

By far the best solution is to put a datascope-like device on the COMport!
It is objective ('second opinion'), gives exact timing on port-level and it
does not disturb normal behaviour/performance of your system and
application. 
I use my laptop with 2 comports for this purpose to monitor and debug my
own multithreaded communications programs. I have written such a monitor
program myself. Not too difficult in OS/2 to listen to 2 COM-ports
simultaenously! And it was well worth the effort. I made this program for a
specific purpose (a computer controlled model railroad) I also built in an
interpretor of all commands and data for this environment, saved me a lot
of debugging time!  

Cheers, Rob 
--- timEd/2 1.10+
* Origin: Root of Downsort, Netherlands [31-347-322423] (2:281/732)
SEEN-BY: 50/99 54/99 270/101 620/243 625/110 160 711/401 409 410 413 430 808
SEEN-BY: 711/809 934 955 712/311 407 505 506 517 623 624 704 713/317 800/1
@PATH: 281/732 703 1 280/801 270/101 712/624 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.