10-29-2017 03:06 PM
Hi,
I can't find a way to detect when my boolean button gets a value from :
- 0 --> 1 (positive)
- 1 --> 0 (negative)
I think it is something with flank detection. But I don't know how to detect it.
Sorry for my English.
Thanks!
Solved! Go to Solution.
10-29-2017 03:22 PM
Depending on what you want to do this should be a reasonably straightforward task.
Your options are:
1. Use a feedback node to hold the old value and perform a not equal (!=) check between the old version and new version each loop
2. Use a shift register to hold the old value and perform a not equal (!=) check between the old version and new version each loop
3. If you have 2017, you can use the VIM "Is Value Changed" which contains a feedback node to perform this check
4. If you have openG installed there is a vi called "Data Changed" that performs the same functionality
10-29-2017 03:25 PM
I can move on now 😉
Thank you for the quick reply !
10-29-2017 04:15 PM
10-29-2017 05:59 PM
I would have never found that by my own 😉
Thank you very much !!