LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why can´t I use inport VI in win xp even when I have used userport aplication?

why can´t I use inport VI in win xp even when I have used userport aplication for enabling port reading in this plattform?, I´m getting data from the parallel port in epp mode, my pc´s pararell is ok bcs I can read data in c++
0 Kudos
Message 1 of 3
(2,805 Views)
What version of LabVIEW are you using?

If you use a recent version (inport has a green chip on the icon), you should be able to read anything within the hosts I/O Memory range without the need for any special settings, even on NT or XP.

Check the online help. There is a sample included with LabVIEW 7.1.

(Parallel Port Read and Write Loop VI at labview\examples\portaccess\parallel port examples.llb ).
0 Kudos
Message 2 of 3
(2,805 Views)
If you have an older LabVIEW (6.1 or earlier) you will need to exchange the in port and out port VIs that came with LabVIEW with different ones and install a DLL. The reason is documented here <>. This link (which is the first link returned when you search ni.com for "in port") explains basically that the OS won't let you until you have kernel level access. The devzone link at the bottom of the refered page will include all of the code that you need to install (VIs and DLL) to make it work.
0 Kudos
Message 3 of 3
(2,805 Views)