LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Driver for I/O on paralel port (LPT1)

Does someone know, if it's possible to use paralel port for digital input
and output signals in LabVIEW?

Joe
0 Kudos
Message 1 of 4
(3,722 Views)
krlin wrote:
> Does someone know, if it's possible to use paralel port for digital input
> and output signals in LabVIEW?
>
> Joe
>
>

You can do this with the standard functions if you are using Windows 9x
or Windows ME. If you are using NT you need to download an additional
library from ni.com. If you are using 2000 or XP I don't know.

Regards,

DaveR
0 Kudos
Message 2 of 4
(3,721 Views)
"DaveR" wrote in message
news:3D1D9359.7010905@unforgettable.com...
> krlin wrote:
> > Does someone know, if it's possible to use paralel port for digital
input
> > and output signals in LabVIEW?
> >
> > Joe
> >
> >
>
> You can do this with the standard functions if you are using Windows 9x
> or Windows ME. If you are using NT you need to download an additional
> library from ni.com. If you are using 2000 or XP I don't know.

I believe 2000 needs the NT fix.
0 Kudos
Message 3 of 4
(3,721 Views)
Adam:

Digital line control can be accomplished w/ an OutPort.vi. The usual
port address for a standard parallel port is 0x378 but you will need
to check your PC to be sure. Reading ports is harder because it all
depends on the type of port SPP, EPP, ECP, etc. It also depends on
the chipset used to implement the port when it comes to reading ports.

If you are using a Win NT, 2000 or XP Pro O/S you will need to obtain
or write a kernel mode device driver that will grant you access to
physical memory. There are several available on the web if you search
for parallel+port+program.

I would also recommend Jan Axelson's book: "Parallel Port Complete" if
you need to be able to do more than just set output lines for digital
control.

Douglas D
e Clue
LabVIEW/LabWindows/MSVC/MSVB/TestStand developer
ddeclue@bellsouth.net



"Adam Russell" wrote in message news:...
> "DaveR" wrote in message
> news:3D1D9359.7010905@unforgettable.com...
> > krlin wrote:
> > > Does someone know, if it's possible to use paralel port for digital
> input
> > > and output signals in LabVIEW?
> > >
> > > Joe
> > >
> > >
> >
> > You can do this with the standard functions if you are using Windows 9x
> > or Windows ME. If you are using NT you need to download an additional
> > library from ni.com. If you are using 2000 or XP I don't know.
>
> I believe 2000 needs the NT fix.
0 Kudos
Message 4 of 4
(3,721 Views)