Solved

Redirecting COM ports to multiple hosts?

Posted on 2013-06-12
1
354 Views
Last Modified: 2013-06-13
I have two applications that both need to run at the same time and also need to redirect the output from the local COM port.  Whichever application runs last wins at the moment.  Is it possible to redirect the output from a single serial port to two different terminal sessions?
0
Comment
Question by:First Last
1 Comment
 
LVL 1

Accepted Solution

by:
klavdivs earned 500 total points
ID: 39243212
COM ports don't share well on their own.  There are a number of software tools one can buy that will manage the sharing for you.  If you are a programmer and you want to do something special (like let both apps use the same data one has requested), you might want to try creating a separate thread that reads the data from the COM port and puts it into a common readable location (memory, registry, database, file, etc.) for the application(s).  It is not that hard to write, but it does take some thought.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 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