Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Serial spy: has anybody already made somehing like this?

Serial spy: has anybody already made somehing like this?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cdwijs
    wrote on last edited by
    #1

    Hi All,

    I'm debugging a device that is connected via a serial port to my PC. I'm now using "Advanced Serial Port Monitor" from aggsoft.com. I am using it in dual port mode, where it listens to 2 serial ports. The Rx wires from the two comm channels are wired into the Rx and the Tx line that are used to talk to the device. In total I use 3 serial ports.

    I am looking for an open source alternative, but i could not find one. Does anybody know such a program?

    Cheers,
    Cedric

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      im using
      http://com0com.sourceforge.net/
      to allow to me to bridge virtual comports and in that way
      let one app to send to other app on same pc. (like a virtual serial wire)
      ( this is due to pc having 1 serial and i got tired of carry USB serials adapters around)
      Im not sure you need this, but no hurt in mention it :)

      And for serial app, i use
      https://sourceforge.net/projects/realterm/

      Not sure if relterm can do what you want ( i not sure what dual mode covers for SPM) but in later version realterm has monitoring mode for spying.

      1 Reply Last reply
      0
      • webzoidW Offline
        webzoidW Offline
        webzoid
        wrote on last edited by
        #3

        com0com is a good shout actually but I don't think it would allow you to "spy" on a physical serial port - for virtual-to-virtual ports, its ideal. I have read somewhere on stackoverflow where someone seems to indicate that it can hook up to a physical port but I've not been able to recreate that.

        I'm about to embark on trying to write a nice Qt wrapper to encapsulate the com0com stuff but sometimes, only USB-to-serial ports will do in a world full of archaic sensors!

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cdwijs
          wrote on last edited by
          #4

          I use this USB to 4 serial port converter:
          https://www.conrad.nl/p/manhattan-usb-2.0-adapter-4x-d-sub-stekker-9-polig-1x-usb-2.0-bus-b-zilver-986367

          This makes it easy to wire two ports to spy on the 3rd port.

          C 1 Reply Last reply
          1
          • C cdwijs

            I use this USB to 4 serial port converter:
            https://www.conrad.nl/p/manhattan-usb-2.0-adapter-4x-d-sub-stekker-9-polig-1x-usb-2.0-bus-b-zilver-986367

            This makes it easy to wire two ports to spy on the 3rd port.

            C Offline
            C Offline
            cdwijs
            wrote on last edited by
            #5

            @cdwijs said in Serial spy: has anybody already made somehing like this?:

            I use this USB to 4 serial port converter:
            https://www.conrad.nl/p/manhattan-usb-2.0-adapter-4x-d-sub-stekker-9-polig-1x-usb-2.0-bus-b-zilver-986367

            This makes it easy to wire two ports to spy on the 3rd port.

            Hi all,
            I have written a program that can monitor 2 serial ports, and dump it onto the screen and into a file. It's tested on windows, but I would be surprised if it didn't work on all other platforms supported by Qt.
            https://github.com/cdwijs/rs232monitor

            Comments and patches welcome.

            Cheers,
            Cedric

            mrjjM 1 Reply Last reply
            2
            • C cdwijs

              @cdwijs said in Serial spy: has anybody already made somehing like this?:

              I use this USB to 4 serial port converter:
              https://www.conrad.nl/p/manhattan-usb-2.0-adapter-4x-d-sub-stekker-9-polig-1x-usb-2.0-bus-b-zilver-986367

              This makes it easy to wire two ports to spy on the 3rd port.

              Hi all,
              I have written a program that can monitor 2 serial ports, and dump it onto the screen and into a file. It's tested on windows, but I would be surprised if it didn't work on all other platforms supported by Qt.
              https://github.com/cdwijs/rs232monitor

              Comments and patches welcome.

              Cheers,
              Cedric

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @cdwijs
              Nice. Thank you for sharing.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved