12-01-2014 12:01 PM
Hello all,
I have a numeric indicator that is displaying numbers (data) that go up and then go down and then go back up and so on. I'd like to find a way to trigger a boolean to say True whenever the data starts increasing but I can't figure out the logic to do that. Any suggestions would be great.
Solved! Go to Solution.
12-01-2014 12:03 PM
Feedback node to keep track of the previous value and then a Greater Than to do the comparison.
12-01-2014 12:04 PM
You can keep track of last received value and compare the current value against last one. If current is higher than previous, trigger boolean. You can use either shift register or feedback node to keep last value.
12-01-2014 12:38 PM
I'm a bit confused on how to use a feedback node to keep track of the previous value
12-01-2014 12:49 PM
something like this...
12-01-2014 01:00 PM
Thank you that makes much more sense after seeing how the feedback node should be used!
12-01-2014 01:00 PM
The posted example should help but here is a link explaining it some more, which also mentions a shipped example.
http://zone.ni.com/reference/en-XX/help/371361J-01/glang/feedback_node/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord