Need labview graph:
Construct a VI that has three Round LEDs on the front panel. When you run the program, the first LED should turn on and stay on. After one second, the second LED should turn on and stay on. After two more seconds, the third LED should turn on and stay on. All LEDs should be on for three seconds, and the program should end.
Solution)
Using a while loop with the structure of case. The structure of case could having 4 cases (one for each LED being on and one for turning them all off again and stopping). The structure of case could also having 4 outputs: one for each LED's value and one for whether to stop. The first three cases could output true for the LED to turning on and false for the other LEDs and the stop value. The last case would be false for each LED and true for stop. Wire the i terminal to the case selectors. Placing the LED controlling terminals after the case structure (inside the loop still), with each wiring to a dissimilar one of the wires of boolean coming out of the structure of case. Then wire the stoping Boolean wire to the stoping terminal. Finally, drop a wait (ms) function insiding the loop but outside the structure of case to making each case taking the right amount of time. For additional points using a second structure of case to skiping the waiting when stopping.
Please do up vote thank you
Get Answers For Free
Most questions answered within 1 hours.