LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak/Valley Detection

Hello,

 

I am using LabVIEW 2019.

I am having an issue detecting two points in an array. I want to measure the time of the two points that are marked in the picture below with the two yellow lines. I tried using peak/valley detector to find the two minimum points, but as you'll see, both the noise prevents an accurate reading at those points. I would even be fine with just detecting when the waveform reaches the minimum point just after 10ms and when it reaches steady state at zero. The data I am using to test this is from a random current waveform, I got from a different test. I have attached the data and the vi to this message. The goal is to read any array that has a trace like this and output the time difference. In the data, there is a few different traces that all look similar but happen at different time lengths.

joe112_1-1589998461060.png

 

 

 

Download All
0 Kudos
Message 1 of 2
(2,155 Views)

If the curve is always going to look like this I would reverse the data and start at the end and work my way back to find these points.

Tim
GHSP
0 Kudos
Message 2 of 2
(2,128 Views)