LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel Port Data Lines for Inputs

Help!!!!

Does anyone know how to use the Parallel Port 8-Data lines as inputs. Using the In_port.vi only seems to read the value of the output buffer and not the actual state of the 8 data lines! I have been able to read the S register pins, but for my application I really need to be able to use the 8 data lines bi-directionally. If I have to I would even be willing to use full blown EPP or ECP mode.

The D-Zone doesn't have the answer there, even though I believe that many of the people are really trying to ask the same question as mine. Are there any SUPER USERS out there that have the solution? I've tried the support at NI to no avail!

I'm using Win98 and Labview 5.0.

Thanks in advanced,

Bob
0 Kudos
Message 1 of 6
(2,931 Views)
hi bob,
sorry, I can`t help you because I got the same problem.
please tell me if you got a solution.
best regards
0 Kudos
Message 2 of 6
(2,931 Views)
hi bob,

could you tell me how i access one input line via parallel port?

greetings
zielosko
t.kammerer@lmt.uni-saarland.de
0 Kudos
Message 3 of 6
(2,931 Views)
To use the data lines of the parallel port as inputs you must use EPP. Then with the inport function in LabVIEW you should be able to read the data port using the address listed in the device manager (usually 278hex or 378hex). You can also use some of the contol bits as inputs and the status bits as outputs. These registers are at data register+1 and data register+2 (i.e., 279hex and 27Ahex.) There is a good book called "Parallel Port Complete" by Jan Axelson that goes into great depth about using the parallel port and is easy to understand. I hope this answers your question.
0 Kudos
Message 4 of 6
(2,931 Views)
"BobL" wrote in message
news:506500000008000000E11A0000-986697009000@quiq.com...
> Help!!!!
>
> Does anyone know how to use the Parallel Port 8-Data lines as inputs.
> Using the In_port.vi only seems to read the value of the output buffer
> and not the actual state of the 8 data lines! I have been able to read
> the S register pins, but for my application I really need to be able
> to use the 8 data lines bi-directionally. If I have to I would even be
> willing to use full blown EPP or ECP mode.
>
> The D-Zone doesn't have the answer there, even though I believe that
> many of the people are really trying to ask the same question as mine.
> Are there any SUPER USERS out there that have the solution? I've tried
> the support at NI to no
avail!
>
> I'm using Win98 and Labview 5.0.
>
> Thanks in advanced,
>
> Bob



[Attachment ps2.htm, see below]


[Attachment io.htm, see below]


[Attachment epp1.htm, see below]


[Attachment EPP.htm, see below]


[See first reply for additional information]
Download All
Message 5 of 6
(2,931 Views)
[Additional attachment(s)]
0 Kudos
Message 6 of 6
(2,931 Views)