🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15093

Re: How to Interface hardware in C++ builder

#15093
From: Malcolm Smith
Date: Sun, 20 Jul 2003 12:40
33 lines
2366 bytes
Interfacing hardware is something I do often- although I've never had to
worry about parallel ports.

1. What OS are you using ?  If NT/2000 you will need a device driver to get
access to the port.  They are available off the web.  I have never used
http://www.winsoft.sk/ioport.htm but have been told it is good.

2. As for the hardware you need to determine if there is a protocol offered
by the manufacturer, or better still, if they have an existing interface
(such as a DLL) that you can use directly.

-- 
Malcolm Smith
MJ Freelancing- http://www.mjfreelancing.com
Software Protection for C++Builder
Borland Technology Partner


"Umar Kazi" <umarkazi@yahoo.com> wrote in message
news:3f1a8909$1@newsgroups.borland.com...
>
> I am currently working on a project which is "sensor guided car
> parking system".This project invloves interfacing of an optical encoder
and a ultrasonic sensor with personal computer through
> external interface card.Parallel port of computer has to be used for
interfacing.Could you please help me in this regard.If you could please tell
me how to read Input port in C++ Builder 4 or how to interface external
hardware with computer using C++ builder.I will be much obliged on your
responce.
> Thanking you in anticipation
> Kind Regards
> Umar.S.Kazi
>
Technical Details
Message-ID: <3f1a8cb1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f1a8909$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,85cebf9f9673bd74
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-20 05:39:05 PST
Reply-To: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
From: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f1a8909$1@newsgroups.borland.com>
Subject: Re: How to Interface hardware in C++ builder
Date: Sun, 20 Jul 2003 22:40:50 +1000
Lines: 35
Organization: MJ Freelancing
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 211.28.166.113
Message-ID: <3f1a8cb1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058704561 211.28.166.113 (20 Jul 2003 05:36:01 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail