Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Snoop the Serial Stream of an Ext. App.

Posted on 1998-11-16
9
Medium Priority
?
222 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

927 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