07-31-2012 12:03 AM
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
07-31-2012 01:17 AM
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.
07-31-2012 07:56 AM
Why don't you just use TCP/IP? It's far easier, and there are ready-made examples that ship with LabVIEW.