Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel port does not work with LabView 6.02 under WinXP pro

Dear all,

I have problems controlling AudioPrecision's SWR-2122 audio switcher via parallel port.

I reuse some Labview 6.02 code written in my company for Win NT.

The code uses the OutPort low-level command. (not the VISA stuff)

I copied the AccessHW from NI to my computer.

At the new PC I run WinXPpro with LV 6.02.

I use 0x378 as address for data.

I'm scanning pin1 with an oscilloscope for any slopes on the strobe signal.

 

When running the code nothing happens on the parallel port’s strobe line.

Because I can set a lot of things at the Bios and the MS device manager I ask for help.

At the BIOS I can select following modes for the parallel port:

-          AT

-          PS/2

-          EPP

-          ECP

At the MS device manager I can select among following choices for LPT port:

-          ECP printer port

-          Printer port

Which setup do you suggest?

 

Thank you for your fast help in advance,

Lietzmann

0 Kudos
Message 1 of 3
(3,256 Views)

Dear Lietzmann,

do you have the Tutorial  Using the Parallel Port in LabVIEW(http://zone.ni.com/devzone/conceptd.nsf/webmain/72c6fc6ce4ad4d1386256b1800794596)?


There is nothing in it about Win XP but the thread http://forums.ni.com/ni/board/message?board.id=170&message.id=66168&requireLogin=False in this discussion is about using the parallel port under winXP. In the thread there is a Link to "Setting Individual Bits for the Parallel Data Port Using LabVIEW".

Regards,

Volker

 

0 Kudos
Message 2 of 3
(3,239 Views)

Dear Volker Messmer,

thank you very much for your reply.

I installed the AccessHW on by PC during I had administrator rights.

Now I can read to and write from the memory address, but the parallel port pins are still dead.

I suppose that my new PC has some hardware restrictions on the parallel port,

like having only ECP available and waiting for a printer to start a handshake:

unfortunately my relay driver card does not do any handshaking.

I will purchase a PCI to parallel card for further checkouts.

0 Kudos
Message 3 of 3
(3,230 Views)