10-11-2017 05:11 PM - edited 10-11-2017 05:40 PM
Hey, I have been trying to create a VI in order to have an 11 led sequence and also an indicator showing the led turned on led position, it works from left to right, but i dont know how to make it work from right to left as soon as a switch the button.
Tks for your time and help.
Solved! Go to Solution.
10-11-2017 05:30 PM
You have way too much code.
Use an array of booleans and search the forum. There are plenty of examples.
10-11-2017 05:32 PM
Hey! tks for the feedback, unfortunately im limited by these structures as part of the requirements, is there any posibility to program the false case in order to put the sequence backwards as soon as i switch the button?
10-11-2017 05:59 PM
Who wrote these "requirement"? Why would you need a formula node for all this? To subtract instead of add is mathematically not that different, right?
If there are requirements, you need to list them all, else we don't know what they all are.
Attached is a simple example draft that could give you some ideas. Arguably, it is simpler. 😄
10-11-2017 06:08 PM
My teacher did, but that’s alright I see now your point, and it’s quite better. Just managed to make it work properly, I really thank you for your time and patience!