05-06-2009 03:43 PM
Hi There,
I am trying to make a labview program do principal component analysis. My program is working fine but since it involves tons of calculation it takes too much time and there is no way to know whether everything steps is going fine. I am trying to put some kind of progress bar thing in my front panel which tell me at what step the program is. The vi for progress bar i found works well with "for loop" but i do not have many for loop and but i my program have 6 step and i used flat sequence for each step. Is there a way to update value of slide after each flat sequence. I am using Labview 8.2 and i am attaching a image of a model vi that has a slide and has four flat sequence and each sequence has time delay of 1 second. I want that the value of slide update as data move from first flat sequence to next.
Thanks in advance
Yogesh
Solved! Go to Solution.
05-06-2009 03:46 PM
You can use a Local Variable for this...right click on the slide -> Create -> Local Variable.
Use one local variable each time you want to update the value.
05-06-2009 03:46 PM
05-06-2009 03:50 PM
Since no one else seems to have suggested it, why not use local variables? 🙂
Actually, if you really wanted to, you could also use a case statement inside a loop where each case was one of the frames in your sequence structure (use the iteration as the input to the case structure). Then, you could have an output (for each case) tied to the progress bar indicator. No local variables!
05-06-2009 04:33 PM
05-06-2009 11:12 PM
As above said u can use local variables and also property nodes.
What is difference between local variable and property node ?
http://forums.ni.com/ni/board/message?board.id=170&thread.id=206600&view=by_date_ascending&page=1
Find my sample programme i used both.
05-06-2009 11:38 PM
05-07-2009 02:44 PM
05-07-2009 02:48 PM - edited 05-07-2009 02:48 PM