CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2000
    Location
    France
    Posts
    27

    Free RS232 Monitoring software?

    Hi there,

    Anyone knows a free software for Monitoring /data-log a serial link between a PC and a device?
    If possible I would like to do it software-wise, ie. without having to make a special cable to hijack the serial link.

    Thanks in advance,

    Loic;

  2. #2
    Join Date
    May 2005
    Posts
    4,954

    Re: Free RS232 Monitoring software?

    microsoft have sample called TTY try it out:
    Serial Communications in Win32

    Cheers
    If a post helped you dont forget to "Rate This Post"

    My Article: Capturing Windows Regardless of Their Z-Order

    Cheers

  3. #3
    Join Date
    Jan 2000
    Location
    France
    Posts
    27

    Re: Free RS232 Monitoring software?

    Thanks golanshahar,

    I had a quick look at the TTY, compiled it and started it.
    However it seems I can't connect to a serial port if some device is already connected to it.

    If that is so, how can I then spy on the data-flow bewteen my PC and the device with the TTY sample?

    Cheers,

    Loic.

  4. #4
    Join Date
    May 2005
    Posts
    4,954

    Re: Free RS232 Monitoring software?

    well if other application is connected to COM1 alreadly of course you will fail on the ::CreateFile(..) api.

    monitoring the data that another application sending to the COM1 is not that trivial as i know. one way is to use API hooking and hook the ::WriteFile(..) , ::ReadFile(..) maybe also :eviceIOControl(..) and that way you can monitor the data transfer there.

    maybe there is another (easy way) but i dont know.

    Cheers
    If a post helped you dont forget to "Rate This Post"

    My Article: Capturing Windows Regardless of Their Z-Order

    Cheers

  5. #5
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    153

    Re: Free RS232 Monitoring software?

    Hi loic,

    is this what you're looking for ?

    http://www.sysinternals.com/Utilities/Portmon.html

    Greetings,
    Matze

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured