06-14-2016 10:48 AM
I am attempting to design a program with multiple buttons that displays the time elapsed since the program began that the button was pressed. I need the buttons to be set so that they switch until released however I only want it to register the initial button press (from false to true), not when it returns back to false. I have attached a sample of what I am working with thus far.
06-14-2016 10:50 AM - edited 06-14-2016 10:51 AM
Boolean Crossing Pt by Pt
But since you are using an event structure, pick a mechanical action that works with it. Try Latch When Released instead of Switch Until Released.
06-14-2016 11:20 AM
If you have to have the Switch Until Released action, put a case structure in the Value Change event, wire it up to the New Value node and do nothing in the False case.
06-15-2016 02:21 AM
@lrazz wrote:I am attempting to design a program with multiple buttons that displays the time elapsed since the program began that the button was pressed. I need the buttons to be set so that they switch until released however I only want it to register the initial button press (from false to true), not when it returns back to false. I have attached a sample of what I am working with thus far.
Try to Explore More about Implies function and use the Event structre values of New and Old values and decide the Transition as True to false or False to true as you wish.and decide the case inside the event