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
Solved

Snoop the Serial Stream of an Ext. App.

Posted on 1998-11-16
9
216 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
  • 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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 100 total points
ID: 1444998
check out http://www.spywindows.com

they have a prog called comspy98
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 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