01-19-2013 08:17 AM
Hi everyone,
when i connect my DAQ to a control box - it can control my LEDs intensities.
now i import the values through text file to lab view and i use array indexing to send the values to the DAQs but the intensities of my LEDs dont really change anymore.
please help me its very urgent!
i have checked the hard ware piece by piece all respond.
note, when i used the voltameter to check the analogue ports of the DAQ i can see the voltage there but it does not change the intensitiy which is weird i dont find any reason for that !
hardware was checked so it must be software.
thanks!
01-19-2013 08:46 AM
In order to recieve any help, you need to specify your problem.
Once you ruled out all possible reasons except software, try posting the source code that does this.
01-19-2013 08:58 AM
here is my VI
thanks alot
01-19-2013 10:24 AM
Did you enable the code in the "diagram disable structure" again?
01-19-2013 10:25 AM
yes i did, still not working!
01-19-2013 10:32 AM
Can you show is the program that controls the LEDs directly, without reading the values from a file? Does that one still work?
Why are none of your errors hooked up? Maybe they are trying to tell you something interesting.....
(Sorry, I don't have DAQ installed, so I cannot look at your express VIs).
01-19-2013 12:20 PM
when i use CONTROL box and i write values myself using the keyboard, the DAQ changes my LEDs intensities.
but when i read from a text file to labview the intensities do not change.
i noticed something, the control box are white, while this one is gray, do you think that is related?
01-19-2013 12:27 PM
What "CONTROL box" are you talking about? I don't see anything named that in your VI.
Are you remembering to hit the display spectrum button so that the event case gets triggered?
01-19-2013 01:02 PM
when i add the DAQ assistent and and right click on its data port and choose create control i get a box when i change its value the intensities change.
but when i use the text file reading it does not change.
yes i remember to trigger it
01-19-2013 01:05 PM
check the attachement please to get what i mean. this case it works.
the VI i sent you it uploads the textfile and then using array indexing i pass data to the DAQ, it does NOT work.