Solved

Snoop the Serial Stream of an Ext. App.

Posted on 1998-11-16
9
212 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
Comment Utility
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
Comment Utility
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
Comment Utility
try 206.155.164.136. That is their IP address
0
 

Author Comment

by:jkears
Comment Utility
To Mirkwood,

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


0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 13

Expert Comment

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

Expert Comment

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

Author Comment

by:jkears
Comment Utility
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
Comment Utility
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
Comment Utility
check out http://www.spywindows.com

they have a prog called comspy98
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now