LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between two PCs using parallel port

I have to communicate between two PCs using parallel port. The scenario is such that one PC will send a string (input by user) while the other will receive it and send back an acknowledgement string (OK). I was wondering if i can simply do it with VISA read and write just the way with com port but instead of writing COM1 in VISA resource i can write LPT1. Will this work? Or is there any other way to send strings using parallel port? I would appreciate if some one can explain it with a diagram or post an example VI.

Thanx

0 Kudos
Message 1 of 3
(3,000 Views)

Hope this would help

 

http://digital.ni.com/public.nsf/allkb/B937AC4D8664E37886257206000551CB

 

 

Parallel port acess VIs will be in found in the following path.

 

C:\Program Files\National Instruments\LabVIEW xxxx\examples\portaccess\parallel port examples.llb

 

However,the above VIs doesn't support Windows Vista & Later.

0 Kudos
Message 2 of 3
(2,991 Views)

Why don't you just use TCP/IP? It's far easier, and there are ready-made examples that ship with LabVIEW.

0 Kudos
Message 3 of 3
(2,978 Views)