ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Need a Virtual Dummy Serial Port on Windows

    IT Discussion
    windows windows desktop com port windows 7 rs232
    3
    8
    2.2k
    Loading More Posts
    • 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.
    • Reid CooperR
      Reid Cooper
      last edited by scottalanmiller

      I have a C#.NET application being installed on Windows 7 (not my choice.) The application used to use two serial devices, one on COM1 and one on COM3. The one on COM1 is no longer used and is not plugged in, but the application still looks for the COM port to set up the application even if no data comes from there. The COM3 device is still there and used.

      I need a bit of software that will run on Windows and will provide something for that COM port to attach to, but doesn't need to do anything. Just enough so that I can set up the COM1 device and have it sitting there. Simply adding the device in the Device Manager just provides me with a disabled device.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        This might be what you want, but sadly SourceForge has gone down this morning.

        http://com0com.sourceforge.net/

        1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender
          last edited by

          I was wondering if you could use some form of COM redirection?

          1 Reply Last reply Reply Quote 0
          • Reid CooperR
            Reid Cooper
            last edited by

            How would that work? How would I test that?

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by Dashrender

              Try

              net use com1 \\server\com1
              

              You'll need to share a com off the server I think - if it errors out it wouldn't work. Then again, you might not have one to share.

              Reid CooperR 1 Reply Last reply Reply Quote 0
              • Reid CooperR
                Reid Cooper @Dashrender
                last edited by

                @Dashrender not a LAN application. The server is a web service. SaaS.

                DashrenderD 1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @Reid Cooper
                  last edited by

                  @Reid-Cooper said:

                  @Dashrender not a LAN application. The server is a web service. SaaS.

                  Doesn't matter. The redirection simply creates a 'local' type COM1 device.... the local machine treats it as local and just beams the data where ever the redirect tells it to..

                  1 Reply Last reply Reply Quote 0
                  • Reid CooperR
                    Reid Cooper
                    last edited by

                    Managed to use com0com and get it to work by looping it to COM5. Odd, but it was enough for it to discover it and ignore it. Thanks for the help!

                    1 Reply Last reply Reply Quote 2
                    • 1 / 1
                    • First post
                      Last post