Solution
To identify threshold crossing points in a waveform that is heavily affected by noise, you can either use complex array operations to determine the intended crossing points directly or smooth the waveform first and then use simpler array operations to find the crossing points. In many cases, the second approach can be implemented with a simpler program.
For example, when using the
B-Spline Fit VI to approximate the original waveform, the original waveform (blue) becomes a smoother waveform (red), as shown below. After smoothing, you can identify the points where the waveform rises above the threshold and falls below it again using simple array-processing techniques.
