LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel port not detected in measurement and automation explorer

I have installed labview 2010 in windows XP.

The problem what I am facing is I could not find "Serial & Parallel port" option in Measurement and automation explorer.

After seeing the similar problem in forum I have installed Ni-Daqmx 9.0.2.  But still I can not see the ports in MAX.

 

I think i have attached enough document .

 

If the parallel port is not detected in MAX can we send digital data to parallel port.

I have tested parallel port with LED connecting one leg in 1st data line(pin 2) and another in gnd(pin 25).

And my program is to blink the led for every one second but I cannot see the blinking.

 

Can anyone help in this regards

 

thank you

0 Kudos
Message 1 of 8
(3,634 Views)

Here I have attached the vi I have used

0 Kudos
Message 2 of 8
(3,633 Views)

DAQmx has nothing to do with parallel ports, so installing it is useless. NI-VISA is what you want, and it appears you have it installed. How is the parallel port configured in the BIOS? It should be set up as an ECP parallel port. The dialog you show from Device Manager does not have ECP in the title bar, and Windows usually has this name for the default ECP parallel port.

 

As for your VI: it doesn't blink because you're not changing the value that you're writing to the port. You need to change the value every other iteration. For example, look at the iteration count and if it's odd write one value, otherwise write its inverse.

Message 3 of 8
(3,621 Views)

 

I have given values to element of arrays as (1,2&4) 

 

Now also it is not blinking instead it is glowing all the time without blinking.

 

What i have to do next.

Download All
0 Kudos
Message 4 of 8
(3,605 Views)

After installing Ni-visa 5.0.3 it worked and MAX detects the parallel port. 

 

Now the problem is only with vi. still led is not blinking

 

 

0 Kudos
Message 5 of 8
(3,581 Views)

What are your array values? You're using a front panel control and unless you set the control's value as "default" for whatever you've entered, its values are not saved when you save the VI. Thus, all I see is a blank array. I'm assuming you're using altenating values, right? I'm not sure why you decided to use an array. Just do like I said, and flip the value in the loop.

Download All
0 Kudos
Message 6 of 8
(3,573 Views)

Thank you smercurio

 

i  found the mistake

 

The mistake was i did not define the port adress constant as hexadecimal.

Now it works

my array values are 1,2,3 and 4.

 

 

 

0 Kudos
Message 7 of 8
(3,569 Views)

i am also using parallel port for driving motors through ckt the ckt drives
motor is driven when m using any external software to drive them
but not thru labview
i am using the following vi
 what am i doing wrong

0 Kudos
Message 8 of 8
(3,472 Views)