Solved

RS485 PROGRAMMING USING vc++

Posted on 1999-01-06
7
371 Views
Last Modified: 2013-12-03
Suppose i have a rs485 card thru which i would like to communicate with a machine, then how is it possible using VC++. Please give me an idea.I am a novice programmer.
0
Comment
Question by:vivek1
[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
  • 2
  • 2
7 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 1418145
If the RS485 card has provided a device driver interface, then the answer is yes.  Hopefully they've provided you documentation to it and you can use high level file functions to communicate with it.  

If not, then you are reduced to working with it at the hardware level.  Under Win9x, you must write and use a VxD to communicate with hardware devices.  Under NT, you must write a device driver.

Both of these options require the Windows DDK available from Microsoft in the MSDN Professional Level Subscription and above.  There are some 3rd party device driver tools as well that might speed up the process.  You might check out Vireo at www.viero.com
0
 

Author Comment

by:vivek1
ID: 1418146
Well what i require is that is it possible to access anInterrupt request using windows 95 system calls.If yes then how do i do it using VC++.
0
 
LVL 32

Expert Comment

by:jhance
ID: 1418147
Again, the answer is the same:

If the RS485 card has provided a device driver interface, then the answer is yes.  Hopefully they've provided you documentation to it and you can use high level file functions to communicate with it.  

If not, then you are reduced to working with it at the hardware level.  Under Win9x, you must write and use a VxD to communicate with hardware devices.  Under NT, you must write a device driver.

Both of these options require the Windows DDK available from Microsoft in the MSDN Professional Level Subscription and above.  There are some 3rd party device driver tools as well that might speed up the process.  You might check out Vireo at www.viero.com
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 2

Expert Comment

by:ivi
ID: 1418148
I recommend you some third-party tools for access to the hardware from Win32:
- commercial WinRT (www.bluewatersystems.com)
- shareware TVicHW32 (www.entechtaiwan.com/tools.htm)
- commercial Driver::Agent (www.vireo.com)

0
 

Author Comment

by:vivek1
ID: 1418149
I need a solution and not consultancy on where to find it on the network
0
 
LVL 2

Expert Comment

by:ivi
ID: 1418150
That's great! :)
jhance gave you full solution! I've added - if you do not want to write your own VxD (or a KM-driver for NT) then you can use the drivers already written by other people. Maybe you want to get a solution how to write a drivers?
0
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 1418151
Again, the answer is the same:

If the RS485 card has provided a device driver interface, then the answer is yes.  Hopefully they've provided you documentation to it and you can use high level file functions to communicate with it.    

If not, then you are reduced to working with it at the hardware level.  Under Win9x, you must write and use a VxD to communicate with hardware devices.  Under NT, you must write a device driver.

Both of these options require the Windows DDK available from Microsoft in the MSDN Professional Level Subscription and above.  There are some 3rd party device driver tools as well that might speed up the process.  You might check out Vireo at www.viero.com
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

707 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