LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Button States

Solved!
Go to solution
I have been trying to set up a button system that each press goes to the next state. The boolean text should read "On" while the state reads "Idle." This signifies the starting positon. The buttons work when only one is being pressed in rotation. If button 1 is pressed once then button 2 is pressed it does not work. I do not know how to fix this issure. I thought that my system has each button running independently.
CLD Certified 2014
0 Kudos
Message 1 of 5
(3,565 Views)
You have one shift register that all counters are passing through.  You need one shift register for each button.  Or allow your shift register to be a cluster or an array to containg the data for all 8 buttons.
Message 2 of 5
(3,561 Views)
Solution
Accepted by topic author ADrexelDragon
Try this. I tired to simplify your idea.
Tim
GHSP
Message 3 of 5
(3,536 Views)
Aeastet, your vi was very helpful. There were a few kinks in it but I managed to fix and improve my system. Thank you. I have attached my finished system.
CLD Certified 2014
0 Kudos
Message 4 of 5
(3,525 Views)
Glad I could help. I didn't understand everything that you wanted to do but I gave you enough to do it yourself wich is even better.
Tim
GHSP
Message 5 of 5
(3,518 Views)