LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I send a byte through a parallel port?

Hello, I'm trying to send a single byte of data to my device over a parallel port. How is this accomplished with labview?
0 Kudos
Message 1 of 3
(2,823 Views)
Use simply the VISA write to serial port.vi (I know, it is puzzling to use a serial vi while you intend to use a parallel port...), and connect to LPT1, instead of COM1 or other serial ports.

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(2,811 Views)
Hi Kura,

In contradiction to Charly's reply .... I recommend to use the LabVIEW standard vi
"OUT Port.vi" from Advanced - Port I/O Palette

Have a look to the simple use of it in attached "Printer-Port-Test.vi".....
- hope you have LV7 to open this vi; if not - let me know !!

The only thing you need to do - take the standard 0x378 Address of LPT-Port and
connect a Control to "OUT Port.vi"

I think this more easy to understand.............

Regards
Werner
0 Kudos
Message 3 of 3
(2,795 Views)