LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2nd Parallel Port address problem

I bought a PCI parallel card and install in the computer. After installation, computer(window XP) automatic assign the 2nd parallel port to 0xC8C8 (which is virtual memory). I have software directly talked to Parallel port. It works fine with 1st port (0x378). When I change to address 0xC8C8, it could not work.
There is something related to address. I use outport8.vi to talk to port. In this vi, address is I16. It only works with I/O memory range. My question is
1. How do I change the address 0xC8C8 to Legacy address, such as 0x278? It does not work in XP.
2. If I could not change port address, how do I talk to parallel port using some available vis?
Thanks,
Lucy
0 Kudos
Message 1 of 3
(2,687 Views)
Hello Lucy,

find attached a simple Test-Program .... your Address 0xC8C8 is selected, if you choose LPT3.

I had in the past the same problems on different Lab-PC's and additional PCI-cards. I solved it with "LPT.vi" - in example used as sub.vi - I think, this should be an acceptable workaround.

Regards
Werner
0 Kudos
Message 2 of 3
(2,681 Views)
Hi Werner,

Thanks for your suggestion. However, I am not sure if that will work. I use the same subvis (out port8.vi) to send data to Parallel port in my application. Out port8.vi only accept I16 Address. When the address is C8C8 (U32), it has problem. I will try you example and see what is result. If it does work, I believe it could be some issue related to PCI card.

Thanks,
Lucy
0 Kudos
Message 3 of 3
(2,661 Views)