From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to controll the parallel-port?

How can I set pin 2,4 and 6 high, and pin 3,5,7,8,9 low?
0 Kudos
Message 1 of 2
(2,559 Views)
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
(2,559 Views)