?
Solved

RS485 - data trap

Posted on 2005-02-27
7
Medium Priority
?
313 Views
Last Modified: 2010-08-05
Hi,
Some data is retrieved on a win2000 PC using the RS485 protocol and used by a 3rd party application.  How can I trap this data and re-use it for another application without disrupting the 3rd party application ?
0
Comment
Question by:pascalvercammen
[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
  • 3
  • 3
7 Comments
 
LVL 10

Expert Comment

by:snerkel
ID: 13416348
You would need  software that could hook into the com port prior to starting your 3rd party application.

An application that can hook into a com port in this way is Portmon from http://www.sysinternals.com however this is only used to monitor the data. You would need to modify your software to work in a similar way.
0
 
LVL 10

Expert Comment

by:snerkel
ID: 13416364
The other way that may work is to have a second RS485 port, use your software to listen in to the data without interacting.
0
 

Author Comment

by:pascalvercammen
ID: 13417662
Hi Snerkel,

Suppose I install a second RS485 port, how can I listen to data flowing in the 1st port.  I don't understand how you can do this.
Or is this a hardware method to split the data flowing into port 1 ?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 10

Accepted Solution

by:
snerkel earned 1000 total points
ID: 13417733
Basically the RS485 cable is looped into both physical ports, the application on the second port sees the data that is being sent/received by the 3rd party software.

A way to do it on an RS232 line http://www.lammertbies.nl/comm/cable/RS-232-spy-monitor.html I use this method on a regular basis RS485 can be monitored in a similar way... how many wires are used in your project for RS485?

0
 

Author Comment

by:pascalvercammen
ID: 13417844
Great !
At this moment I don't know yet how many wires are being used because the app I'm talking about is installed at our customer and I have not seen it yet.  But I needed a possible solution before I go on site.
At least now I know it's possible.

Many thanks.
0
 
LVL 5

Expert Comment

by:J-A-L
ID: 13417855
Personally, I would install a second RS485 port and so long as it doesn't exceed the maximum number of allowed devices you can listen in on everything.  Is it 2 pair or 1 pair?  RS485 backbone?  Either way... you need software that'll read your RS485 port.

Jeff
0
 

Author Comment

by:pascalvercammen
ID: 13417876
OK, thanks for the advice
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

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