To download NI software, including the products shown below, visit ni.com/downloads.
Overview
To take period estimates for data using a zero crossing method
Description:
This code allows the user to take period estimates for data using a zero crossing method. It measures the time gap between rising edges which cross a trigger value. It will function with any wave, but due to lack of hysteresis, noisy signals can false trigger. Signal Conditioning (software or hardware based) smoothing beforehand can minimize this issue.
Steps to implement or execute code
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-
**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.
The shift register of the array is not initialized! When running a 2nd time you will get the new array appended to the previous one.
And there is room for optimisation.