i am jiju i have no more ideas about Labview , please help me i want to run 5 LEDs in parallel port controlling with labview (Push button) or i want on/off these ports i mean ' 0' and ' 1' how can i open parallel port for my application ? please give me ideas please.....
Solved! Go to Solution.
In order to write on the parallel port, you can use the Out Port.vi found in Connectivity>>Port I/O palette.
You can find an example in your Labview directory : labview\examples\portaccess\parallel port examples.llb
Olivier L. | Certified LabVIEW Developer
Parallel port can function in 3 modes namely: SPP,EPP, ECP. For your application the parallel port should be set to SPP. This setting can be done in BIOS Setup while the system boots up. The default BIOS configuration these days is ECP.
The parallel port is bidirectional. So configure the data port to Output mode first and then write the data.
Check the address that you have wired to outport.vi, if it is decimal type then check if it is equivalent to hex value of the data port address.
The vi you have posted is just a simulation! It doesnt access the hardware at all!!!!
First get an idea on the fundamental of parallel port and how to access it. Then take a look into the example vi:
"C:\Program Files\National Instruments\LabVIEW 8.x\examples\portaccess\parallel port examples.llb\Parallel Port Read and Write Loop.vi"