LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

flashing stacked sequence auto start and stop

If you want to stop the while loop programatically, just wire the condition into the stop sign.  In your case, I am assuming that you want to stop after the 5th LED gets lit.  So wire the 5th LED boolean to the stop sign.  See attached vi.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 11 of 15
(1,030 Views)
My idea is to have the led's turn on then off sequentially, until my test data is plotted. I use a DIAdem Open Ref.,DIAdem Run Script, then DIAdem Close Ref. This takes between 10-15 seconds. I was hoping to display the LEDs during this time period then programmatically stop the LEDs and continue processing with in the frame structure.
0 Kudos
Message 12 of 15
(1,020 Views)
Attached is my LED back and forth vi. Works fine as a stand alone but when I save it as a subVI and call it up in the main vi it acts differently. The LED's just run in one direction!
0 Kudos
Message 13 of 15
(1,003 Views)

A version saved as 8.0...

 

 

0 Kudos
Message 14 of 15
(1,000 Views)

Am I understanding correctly.  You have a series of VI's operating in series.  After each VI, you want the next LED to turn on to show the progress.

I think an action engine would work.  Each time it is called, it runs once and turns on the next LED and turns off the rest.  You keep track of the next LED in an uninitialized shift register.  You could pass in an array of references to each of the LEDS.  (Or a reference to an array of LED's) that allows you to index to the reference that you want to turn on and off.

This would be a sub-VI you would put between your other VI's, you would control the flow by wiring the sub-VI's in series with error registers.

0 Kudos
Message 15 of 15
(998 Views)