LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control parallel ports one by one

Hi to all:

 

Look, im trying to control my parallel port, but I want to control one by one bit (or pin). I mean I want to have a voltage in pin 2 next this pin wiil have  volts and the pin 3 wiill have the 5 volts an so on.

I found the attached llb on the net, but its rare because I have already gorunded the 11 and12 pins of my cable, and when I acctivate a out (pin 2 for example) a read with a multimeter -4.5 volts, so when I deactivate the out there are still 2.20 volts.

So, like I said before its rare, I just one to have 0 or 5 volts.

Also I have no much experience in labview.So, if someone can helpme or explainme will be awesone.

By the way I just readed this one:

http://zone.ni.com/devzone/cda/tut/p/id/3466

And did not help too much.

 

Thanks!!

 

 

 

0 Kudos
Message 1 of 2
(2,563 Views)
That won't work.  Using VISA write, you are just sending a bunch of data bits that are subject to the timing of the parallel port.  You should be using the In Port and Out Port VI's to directly control the hardware pins.  Search the example finder for "parallel" and you'll find a couple of examples how to use the parallel port.
Message 2 of 2
(2,551 Views)