LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find particular points from a waveform data


@Henrik_Volkers wrote:

Here is my try 😉

remove mean, detect zero crossings , slice the wfrm, fit a polynom (migth be better ones) , get the endpoints


It's great that this worked, but in GerdW's defense I feel like removing the mean and looking for zero crossings is the same as using a threshold detection with the mean value, no?


GCentral
0 Kudos
Message 11 of 15
(885 Views)

@cbutcher wrote:

@Henrik_Volkers wrote:

Here is my try 😉

remove mean, detect zero crossings , slice the wfrm, fit a polynom (migth be better ones) , get the endpoints


It's great that this worked, but in GerdW's defense I feel like removing the mean and looking for zero crossings is the same as using a threshold detection with the mean value, no?


Yep, that`s equal, .. 

 

Gio, if you post some critical data, maybe someone comes up with a better idea.

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 12 of 15
(867 Views)

As ico82 intimated, the second derivative rapidly changes sign at point 2 before going to zero again, so one does not require a threshold to detect this change. . .

0 Kudos
Message 13 of 15
(861 Views)

Maybe:

Detect the falling slope (mean ...)

use peakdetect with 3 points to get the next valley

do a lin fit for next n (100) noisy points

for the rising edge just reverse the data ....

 

as always: look at the data, analyse how you detekt the point, draw it in dataflow 😄

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 14 of 15
(859 Views)

I have not run the code I am just looking at the graph. Based upon the plot it appears that point 2 occurs unambiguously when

a) the second derivative changes sign from negative to positive

b) the first derivative is positive before the sign change

0 Kudos
Message 15 of 15
(854 Views)