LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel port in WinXP with LabVIEW7

I have created an exe with LabVIEW7 (inport and outport should work without AccessHW) and it works fine with
Windows2000 I have in my computer. We installed the exe to another computer, a laptop with WindowsXP. Now
the program works fine except for two bits in Base address +1 (nAck and Busy). Anybody had same kind of experiencies?
0 Kudos
Message 1 of 7
(3,568 Views)
Did you check that the parallel port mode is the same in the Device Manager?
0 Kudos
Message 2 of 7
(3,550 Views)
We have actually changed parallel port mode from BIOS, but the behaviour was the same in all modes. We didn't check what the device manager says. Also I have to correct that it is only the nAck that doesn't give the correct read from the port. Busy seems to work ok.
0 Kudos
Message 3 of 7
(3,536 Views)


@SamiKotijarvi wrote:
We have actually changed parallel port mode from BIOS, but the behaviour was the same in all modes. We didn't check what the device manager says. Also I have to correct that it is only the nAck that doesn't give the correct read from the port. Busy seems to work ok.


I'm pretty sure Windows believes that it knows better how a parallel port should behave than the BIOS and accordingly takes control of it. And with quite some BIOSes this might even be true too.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 7
(3,523 Views)
Port is ECP in both computers and in BIOS as well as in Windows. The windows driver version is of course different (Win2000 vs. XP).
The question still remains....does the XP control the port and use it for some mysterious things or why can't we read this one bit from the
parallel port? By the way we have tested the exe with another laptop running Win2000 and it works with it.
0 Kudos
Message 5 of 7
(3,524 Views)
Hi,
 
what do you think about  a  defective Pin ( caused by ESD or overload ) ??
 
If you have a  PCI  Add-On card  like e.g.  EX-41450 you can try this with your PC and
then you know for sure that it is not a Hardware - Problem.
 
Only an idea.........
 
Regards
Werner
0 Kudos
Message 6 of 7
(3,506 Views)

Win XP does have some restrictions on the parallel port as compared with Win-2000.  Win-XP added a security feature which does not allow to change the parallel port IO addressing.  However, I doubt that it would affect nAck. 

Ray

Message Edited by JoeLabView on 01-04-2006 12:05 PM

Message 7 of 7
(3,499 Views)