?
Solved

getting signals

Posted on 1999-07-28
3
Medium Priority
?
201 Views
Last Modified: 2010-04-02
I have a self made hardware that is plug to the cpu com port. The hardware is suppose to send signals (11001010 etc) to the cpu. How do I receivet he signals using C++ and what programming tool can I use to do so?
0
Comment
Question by:wholebread
[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 Comments
 
LVL 1

Expert Comment

by:MatthiasLange
ID: 1201244
This question is HW and OS specific. Give more detail.
0
 
LVL 4

Expert Comment

by:nil_dib
ID: 1201245
nothing to add ...
0
 
LVL 3

Accepted Solution

by:
Laminamia063099 earned 200 total points
ID: 1201246
If you are using Win16 programming, you can do this simply using the inport () and outport () functions to read and write to/from the com port.  If you are using Win32 programming, you must use a device driver.  One that I'm currently using that is quite adaptable (and you won't have to write it yourself) is a shareware device driver from:
http://www.entechtaiwan.com/tools.htm.  It's TVicHW32.dll. It's a dll that you can incorporate with your hardware data acquisition program to directly access the com ports.

Other than using a device driver in win32, you can't directly access the hardware.

If you aren't using windows or dos, this answer may not work.

Laminamia :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

718 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