Solved

Redirecting COM ports to multiple hosts?

Posted on 2013-06-12
1
359 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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…

752 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