LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel port bit setting does not work in a laptop but OK in desktop.

I know some of you may have come accross this problem before. I found some postings about it from a few years back, but there was no solution posted.

I developed an application that turns on and off the parallel port data bits. I used the example that comes with LabVIEW 7.1 which is included here as an executable. The executable works OK in my desktop but not in my Laptop.

Operating systems are: Desktop = XP Pro SP1, Laptop = XP HOME SP??? (1 I believe) both Dell which may not matter.

Does anyone know of a quick fix for this???

Any input would be appreciated.

P.S. If concerned about running an *.exe you can find the example in labview 7.1 by searching for "parallel"
the vi is the "parallel port read and write loop.vi"

OK. so here is the .vi file since I can not attach a *.exe file.
0 Kudos
Message 1 of 3
(2,572 Views)
Hello,

I think the issue has to do with a difference in BIOS/Config settings on your desktop and laptop.
The VI information states that "it is necessary to first place the PC parallel port into standard mode (SPP) in the BIOS configuration and make note of the port's base address. This will require re-booting the PC. After this is done, enter the parallel port base address into the Data Register (Base + 0) control on the IO Register Status tab and the VI is ready to run."


After setting the port on your laptop to the appropriate mode, do you still see the same behavior?
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 3
(2,540 Views)
Thanks for that Wnedy. I was sure that it had something to do with BIOS or other windows settings but did not read the info on the example VI througthly. I will try that and will see if it works. If it does not work I found another laptop that works and that will be enough for my demo.

thanks again.
0 Kudos
Message 3 of 3
(2,535 Views)