Solved

Redirecting COM ports to multiple hosts?

Posted on 2013-06-12
1
362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Over the years I've spent many an hour playing on hardened, DMZ'd servers, with only a sub-set of the usual GNU toy's to keep me company; frequently I've needed to save and send log or data extracts from these server back to my PC, or to others, and…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
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…

632 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