Solved

Redirecting COM ports to multiple hosts?

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
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 this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now