- Create a blank VI
- You will need
- A 5x5 control array with round LED lights
- A 5x5 array initialized to False connected through a loop tunnel into a while loop, in which you have:
- A 100 ms "Wait MS" delay
- Two rounded random numbers between 0 and 4
- A "Replace Array Subset" function to set the LED lamp at the two random number place indexes to true. The output must be connected to the control array icon
- Save your VI as RandomLED
- Try changing the Loop tunnel to a shift register and connect the array to the right shift register exit
- What change does this cause?
Flowchart: