LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Spline and Derivative Pt By Pt

Solved!
Go to solution

Hi there,

 

I need to detect the small jumps that shows up at the end of the measured data, see the red line.

 

Looking at the top graph.

To do so I first fit a spline through the measured data resulting in the white line.

Finally I calculate the derivative of the spline resulting in the green line.

From that green line, one can easily find the peaks.

You may think problem solved Smiley Happy

 

I would say yes in case one has the whole data at once.

 

I want to do the same while I receive the data point by point, the measured data I mean, the red line.

So I tried the same approach using the PtByPt vi's, but I get nowhere Smiley Sad

See the lower graph.

 

Who can help me out??

Thanks !!

0 Kudos
Message 1 of 3
(2,283 Views)
Solution
Accepted by topic author Alain_S

How about a simple low pass filter. Even a simple "ptbypt DC estimate" seems to work OK. Of course the data will be shifted according to the ptbypt window size, but you should be able to deal with that.

Message 2 of 3
(2,278 Views)

Works great!

I evalute it on multiple datasets, all variations were well detected.

 

Thanks a lot Altenbach!

0 Kudos
Message 3 of 3
(2,266 Views)