04-27-2011 06:23 AM
If a certain system is activated by flipping the toggle switch up and down, or down and up, what is the most elegant way to implement this?
The only way I can think of is comparing the switch's present value with a feedback node; if the values are not the same, the system will be activated.
But could there be a simpler way to do this, like changing the switch properties or something?
04-27-2011 06:59 AM
A statemachine works pretty well...
04-27-2011 10:40 AM
http://wiki.openg.org/Boolean_Trigger
This VI is used to detect rising and falling edges of the Boolean Input. "Rising Edge" is TRUE if Boolean Input is TRUE and was previously FALSE. "Falling Edge" is TRUE if Boolean Input is FALSE and was previously TRUE. This VI is intended to be used in loops to aid in user input polling.