LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Correction of irregular data intervals

Hello everyone,

 

I have a problem. My signal is in the peak form. I would like to have regular time intervals, which is not always the case.

 

Is there an option to transform the time axis (in order to always have even intervals), and to keep the signals as close to the signals I already have, with the interpolation of missing points.

 

What is the best approach?

 

Thank you for your help 🙂

0 Kudos
Message 1 of 5
(916 Views)

I don't know what it means for a signal to be "in the peak form".

If it's not a real-time analysis that you're doing, just use interpolation.

Functions -> Mathematics -> Interpolation and Extrapolation -> Interpolate 2D Scattered

"If you weren't supposed to push it, it wouldn't be a button."
Message 2 of 5
(875 Views)

Create an evenly spaced ramp and use interpolate 1D array.

 

Not sure what the data structure is of your current data, but if you make it an array of xy clusters, it will simplify things.

 

What is "peak form"??? I am not familiar with that term.

 

(Here is an old example. Note that the x values don't need to be spaced equally for the original data.)

0 Kudos
Message 3 of 5
(863 Views)

Hello,

 

I have uploaded an image where you can see how peaks can look.

 

I need equal time intervals, with as low as possible change in shape of the signal.

 

Thank ypou for your help.

0 Kudos
Message 4 of 5
(810 Views)

Your image does not help at all.

 

The shape does not really matter as long as you have sufficient points to define the shape (and we cannot tell how many points there are). Have you tried my earlier suggestion?

 

If you want specific help, attach your VI and some typical data.

0 Kudos
Message 5 of 5
(784 Views)