02-18-2015 10:16 PM
I want a VI, that increments a counter when one push button is pressed and released followed by the next push button, and it should be decremented when the order is reversed. Could anyone suggest a modification to the vi i have below (it is working when the push buttons are seperately pressed)
02-19-2015 07:06 AM
Use a shift register to keep track of which button was pressed last. I'm thinking you might want a shift register for each button to say if they were the last thing pressed. When you increment or decrement, be sure to clear those flags. From there, it is some simple logic.