[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Snoop the Serial Stream of an Ext. App.

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
jkears
Asked:
jkears
  • 3
  • 3
  • 3
1 Solution
 
MirkwoodCommented:
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
 
jkearsAuthor Commented:
To Mirkwood, I tried the address www.sysinternals.com but I got no response, is there a type-o mistake ?
0
 
MirkwoodCommented:
try 206.155.164.136. That is their IP address
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
jkearsAuthor Commented:
To Mirkwood,

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


0
 
MirkwoodCommented:
No, they have a win95 version as well. Look under win95 utilities.
0
 
RUSHCommented:
check out socketspy32 or adapt-a-spy  from win-tech
http://www.win-tech.com/monitor.htm
0
 
jkearsAuthor Commented:
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
 
RUSHCommented:
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
 
RUSHCommented:
check out http://www.spywindows.com

they have a prog called comspy98
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

  • 3
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now