Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Snoop the Serial Stream of an Ext. App.

Posted on 1998-11-16
9
Medium Priority
?
220 Views
Last Modified: 2010-04-30
I often have to decode down/upload serial protocols for various PLC and factory automation equipments. Currently I use an external cable box that picks up the transmit/recieve lines and actively Or's the two together. The combined signals are then sent to the RX line of a second serial port where another app reads the data and stores it to a file for post analysis.
I would like to build a Win95 VB app using MSCOMM (or anything else) that accomplishes the same internally i.e. it must capture the serial data from a serial port that is being sent by another process (Usually a DOS app in Win95). The data rates are as high as 56K baud.
Is there any way of watching another process's serial communication in code.  
The simpler the better !
0
Comment
Question by:jkears
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
9 Comments
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1444990
Www.sysinternals.com has a tool called portmon. This will do that for you. Most likely they install a system driver. So don't count on an easy or VB solution.
0
 

Author Comment

by:jkears
ID: 1444991
To Mirkwood, I tried the address www.sysinternals.com but I got no response, is there a type-o mistake ?
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1444992
try 206.155.164.136. That is their IP address
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:jkears
ID: 1444993
To Mirkwood,

Thanks for your information, however they only have a Windows NT version, I require this for Windows 95.


0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1444994
No, they have a win95 version as well. Look under win95 utilities.
0
 

Expert Comment

by:RUSH
ID: 1444995
check out socketspy32 or adapt-a-spy  from win-tech
http://www.win-tech.com/monitor.htm
0
 

Author Comment

by:jkears
ID: 1444996
Rush,
I already have a package that monitors external transmit and recieve.  That is what Listen does.  What I want to do is to monitor any applications serial send and receive data stream.  

Mirkwood,
You have the right idea, but I can not find a Win95 version of portmon, only an WinNt version.

Anyone else have some ideas ?
0
 

Expert Comment

by:RUSH
ID: 1444997
Check Socketspy...not the listen32 app.
Socket-spy monitors internally by hooking the windows api.
They also have spytools (an .exe and a .dll) available for download.
0
 

Accepted Solution

by:
RUSH earned 200 total points
ID: 1444998
check out http://www.spywindows.com

they have a prog called comspy98
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question