To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how to count how many times a signal crosses a threshold while increasing only
Description
This example shows how to count how many times a signal passes a threshold while increasing only. This means that if the signal crosses the threshold while it is decreasing, this will not be counted.
Requirements
LabVIEW Base Development System 2012 or compatible
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange. **
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Thanks for the example helped me a lot.
Thank You greatly for this code...it helped me a lot. But, in order for you to get rising edges you need to switch the two values shown. They're backwards.