Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Data I/O via Parallel Port

0 views
Skip to first unread message

Lawrence Kirby

unread,
Dec 26, 1998, 3:00:00 AM12/26/98
to
In article <36850E7F...@pc.jaring.nospam.my>
fs...@pc.jaring.nospam.my "F.S. Yap" writes:

> Can anyone tell me where is the related web site or reference books
>for data acquisition via parallel port and serial ports written in C
>program ?

The C language itself has no support for particular hardware
devices or direct hardware access. The approach you use depends on the
particular OS you are using: some provide ready-made drivers with APIs
through which programs can access and control them. Of the ones that don't
some require you to write a device driver because they don't allow user
level programs to access hardware devices directly. Some do allow direct
hardware access and compilers for those will probably provide extra
facilities (typically library functions) to allow hardware accesses.

So the simple answer is that there is no way to do what you want in plain C.
You need instead to look to the facilities of your specific OS or compiler
to do what you want. Therefore try an appropriate OS or compiler
related newsgroup such as comp.os.msdos.programmer, comp.unix.programmer,
comp.os.ms-windows.programmer.win32 etc.

--
-----------------------------------------
Lawrence Kirby | fr...@genesis.demon.co.uk
Wilts, England | 7073...@compuserve.com
-----------------------------------------


F.S. Yap

unread,
Dec 27, 1998, 3:00:00 AM12/27/98
to
Can anyone tell me where is the related web site or reference books
for data acquisition via parallel port and serial ports written in C
program ?

--
please remove .nospam to reply


Mike

unread,
Dec 28, 1998, 3:00:00 AM12/28/98
to

http://www.lvr.com/

--
Mijo ^¿^
"9A" Hardware Software Development
http://131.123.14.203/~knamjesn/dic.html
http://131.123.14.203/~knamjesn/vbsearch32.html
¯¯
"Don't just do something. Stand there."

Thomas Lutz

unread,
Dec 30, 1998, 3:00:00 AM12/30/98
to
Check out the Microsoft Developer Network CD ROM or Microsoft's web
page. You should be able to find sample C source code.

If you are interested, the company that I work for sells a serial
communications program called the Software Wedge that you may find to
be a good tool for adding serial communications capabilities to your
application. The Software Wedge is an executable program that can pass
serial data back and forth to other programs using either DDE (Dynamic
Data Exchange) or by converting incoming serial data to keystrokes
(i.e. it stuffs the keyboard buffer with the incoming serial data).
The program is extremely easy to use and is designed to have you up
and running sending and receiving serial data directly from within
your application in just a few minutes.
Please visit http://www.taltech.com for more information.

0 new messages