01-23-2012 05:57 AM
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
01-23-2012 06:01 AM
Here I have attached the vi I have used
01-23-2012 08:27 AM
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.
01-23-2012 10:06 AM - edited 01-23-2012 10:12 AM
Thank you for ur reply Smercurio
I have changed the bios setting now
but still i cant see the printer port in MAX
Regarding my vi, now i changed it please see that also
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.
01-25-2012 06:16 AM
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
01-25-2012 08:24 AM
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.
01-25-2012 08:40 AM
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.
05-17-2012 04:34 AM
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