LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I do to communicate to parallel port using labview 5.0 and NT ?

I am trying to write and read from parallel port using Labview 5.0. It does not work with NT.

How can I do to communicate to parallel port using labview 5.0 and NT ?

Thank you in advance.
Regards,
0 Kudos
Message 1 of 5
(2,924 Views)
If you are trying to use In/Out port functions that come with LabVIEW they will not work with NT. I think the AccessHW file at the following link will fix that problem:

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/49664743ded6f1da862564bc004e3a7f?OpenDocument

Try also this link:

http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/0989d3d9dafae64e8625680400679736?OpenDocument

and do some searchs at NI.com for parallel port, you should find some more usefull info.

Good luck

Brian
0 Kudos
Message 2 of 5
(2,924 Views)
Hi,

I installed AccessHW file, but unfortunately I couldn't use In/Out port functions that come with Labview 5.0. When I run these functionS, LV displays message" characteristics not supported".

In this case How can I do to use these functions?
Thanks in advance.
Regards,
0 Kudos
Message 3 of 5
(2,924 Views)
Did you try using the In/Out port vis that install with AccessHW.dll? They install in a library that's in the same directory as the accesshw.dll. That sould work with LV 5.0 and WinNT.

Brian
0 Kudos
Message 4 of 5
(2,924 Views)
In/Out Port functions work only under win95/98.
You have to try SerialPort functions (Instrument I/O / Serial). Read help to SerialInit, SerialWrite and SerialRead. There's written that you can use this functions to communicate to parallel port if you select port number equal to 10 for LPT1, 11 for LPT2, 12 for LPT3 and 14 for LPT4.

Oleg Chutko
0 Kudos
Message 5 of 5
(2,924 Views)