LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to controll the parallel-port?

Highlighted
How can I set pin 2,4 and 6 high, and pin 3,5,7,8,9 low?
0 Kudos
Message 1 of 2
(1,265 Views)
Highlighted
Hallo, RICHARD,

Du meintest am 24.10.99 zum Thema How to controll the parallel-port?:

> How can I set pin 2,4 and 6 high, and pin 3,5,7,8,9 low?

Choose the vi "out port" in advanced/memory.

If you want to control LPT1: its port address is 0x378 (hexadecimal). Pins
2 ... 9 are the date pins of this port (D0 ... D7 or D1 ... D8). Usually
they are defined as output only.

For your desired output configuration the out-byte has to be
Pin Nr
9 2
--------
00010101 (binary)
or 0x13 (hex)
or 19 (decimal)


Viele Gruesse!
Helmut
0 Kudos
Message 2 of 2
(1,265 Views)