LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Onset and offset detection

Hello Thijs,

 

My approach was using something quite closely linked to your linear fits.

 

It was a combination of  local cross products (on a limited set of data points) between an example transition (which could be a linear or non-linear figure) and normalized measurement (local) data.

 

This can be sometimes quite sensitive to noise or false/incorrect "transition peaks/valleys".

 

If it works great, then I'm not going to overflow you with extra work. 😉

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 11 of 14
(477 Views)
Can you attach your example in my vi? I am very curious!
Regards,
Thijs
0 Kudos
Message 12 of 14
(466 Views)

Hello Thijs,

 

I seem to have missed the e-mail notification of this forum post.

My apologies for the late reply.

 

On my work pc I have already deleted this test code.

 

If you want me to, then I can have a look at home to see if I backed it up over there.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
Message 13 of 14
(441 Views)

Hi again,

 

I came to the conclusion that curve fitting only works on certain data, my amplitudes are not always the same height and the steepness of the signal isn't allways the same...

 

So i've done it on another way, i take the deritative of a piece of the signal then normalise it between -1 and +1 then get the index of the max value, and search in both directions from that peak value when my value reach 5 % of the max value (0,05) i get the indexes and those are my on and offsets...

 

If anyone still have a better solution...?

 

Best regards,

Thijs

0 Kudos
Message 14 of 14
(418 Views)