Hey there,
I'm relatively new to the world of LabVIEW and currently struggling to work out my homework task.
The task was the following:
- 5 LEDs on the front panel
- 3 modes of lighting the LEDs:
- 1. let the LEDs flash simultaneously
- 2. let the LEDs flash succesively (LED1 turns on; when LED1 turns off, LED2 turns on etc.)
- 3. let LED1 flash 5 times, then let LED2 flash 5 times etc.
- switch the mode only after pressing OK
- manipulate the flashing delay
I figured out how to implement mode 1 and 2 (I will add a link to the project) but I don't know how to mode 3.
Here's what I currently got:
I embedded the whole code in a producer/consumer structure.
Right now, LED1 is flashing 5 times before LED2 flashes one time, then it gets back to LED1 flashing. I know that this is because of the way I defined the inner case structure.
Is the approach with the inner case structure valid?
I will probably need another array but right now I'm pretty much stuck, so I'm thankful for any kind of help!
I am working on Labview 2021.