From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

False Edge Detection

See attched VI, I've saved it with data because the problem doesn't occur with every aquisition.

I've been using this subroutine (different name!), for a long time but just started to get an error today. The Threshold Peak Detector (Not in Base Package), is returning a false vallet edge at array element 3 (note that the value is nearly the same as the Peak Indices #3 element. I can clearly observe the wave form and note that there is no peak transition on the inverted data set, but for some reason the Threshold Peak Detector (Not in Base Package) is grabbing the same transition as for the non-inverted data set.

I can't figure out why. Anybody want to help?


~~~~~~~~~~~~~~~~~~~~
Paul Johnson
Renco Encoders, Inc
Goleta, CA
~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 1 of 2
(2,311 Views)
Never mind, I see the problem, I need to increase the width
~~~~~~~~~~~~~~~~~~~~
Paul Johnson
Renco Encoders, Inc
Goleta, CA
~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 2
(2,307 Views)