The Cyber-Spy.Com Usenet Archive Feeds Directly From The Open And Publicly Available Newsgroup Sci.Electronics.Design
This Group And Thousands Of Others Are Available On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic, Opinions Or Content Posted To This Or Any Other Newsgroup. This Web Archive Of The Newsgroup And Posts Are For Informational Purposes Only.
From: "Brett"
Newsgroups: sci.electronics.design
Subject: Re: RS232 newbie - in need of assistance!
Date: Fri, 3 Jan 2003 12:19:22 -0500
Message-ID:
References:
NNTP-Posting-Host: 24.42.56.197
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
True, you can open("lpt") or something like that, but you need to be the
admin and it's one of those high speed protocols. I forget the details of
this, because it's pointless imo.
Finally there are no processor I/O ports that one can access in WinNT/XP
(it's been cut off for security reasons). There is a PortIO driver I've used
before, however it's pretty complex and you'd need to access the win32 API a
lot.
"PCS Electronics" wrote in
message news:am5R9.2294$tQ1.116337@news.siol.net...
> > using the parallel port is fine if you're not using Windows NT/2000/XP
and
> > you write code in C. For VB? Eh, it gets a little harder I guess. I'm
sure
> > there are thrid party components that will make this work.
>
> The one I suggested in my earlier post will work in NT and XP as well.
> It comes with a sample VB program. In fact you can read the port right
> "out of the box".
>
> Its really just a matter of connecting switches to the port. I'm not sure
if there
> is +5V somewhere on the port. If not, he may have to use another source to
> get 5V, a battery perhaps.
>
> > but it is the easiest hardware wise! We have these parallel port/RS232
> > protoboards. Very handy and inexpensive even though I've never used ones
we
> > have.
>
> Sounds good. Even though he could just attach cables to the connector.
> It really depends on what he is actually trying to do with the switches.
>
>
> --
> Best regards,
> Marko - PCS Electronics
> ---------------------------------------------------------
> Turn your PC into a FM radio station
> http://www.pcs-electronics.com
> tel +386 31 318 236
>
> NOTE: It is important that you include the entire contents of this
> message in your responses. This will greatly speed up future
> responses.
>
>
Go Back To The Cyber-Spy.Com Usenet Web Archive Index Of The sci.electronics.design Newsgroup
|