Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Redirecting COM ports to multiple hosts?

Posted on 2013-06-12
1
Medium Priority
?
366 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
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…
Suggested Courses
Course of the Month6 days, 2 hours left to enroll

772 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