Interpolate 1D Array

A Swiss Knife Function that if you know can help to solve different problems.

By default the input is based on array of number.

The array is intended as a points where the x is the index value of the array, then the output is the Y at x value where the x array is intended as min index and max index of the array.

But this function can take also an array of points in input (array of cluster (x;y).

Then we can use array of cluster to use with arbitrary x and y points array.

Some example of use:

Convert XY Graph in a Waveform Chart

The XY Graph have arbitrary x axes values, the chart have only Y arbitraries values because X is defined by index of a 1D array.

WIth the Interpolate 1D array.vi

basic function can help us to resolve this.

And this is the results

This VI is Linear Interpolate, if you need different method try the Interpolate1d.vi or searcho for the other interpolation functions on the math palette.

Rescale raw data

The array input accept array of number (y) or array of point where point (x;y).

Then you can use a list of point (i.e. define the point min and max for linear scale, where x is the raw data and y is the scaled value). Add more point to define a table scale.

Interpolate Different Buffer acquired

Each 1s i get two array of measures with different acquisition time, then i have one of 10 and one of 100.

Vuoi approfondire l'argomento? Hai un progetto e stai cercando un Team che ti possa supportare?

ti potrebbero interessare

Oltre la Taratura: L’Integrazione dei Sistemi di Gestione della Taratura nell’Era Digitale

La digitalizzazione dei processi di taratura consente tracciabilità, automazione e integrazione con altri sistemi aziendali, migliorando efficienza, qualità, sicurezza e conformità normativa.

LabVIEW Dynamic VI calls

Want to make your LabVIEW applications more flexible and efficient? Discover how dynamic VI calls can help, with two key methods: Call By Reference, perfect for strict control, and Run

ByteQX ad A&T Automazione e Testing (Torino 11-13 Febbraio)

Saremo ad A&T Torino (11-13 Feb) stand F46 con Micron. Vieni a vedere QX integrato con banchi prova: dal sensore alla decisione. LabVIEW e SPOT per sistemi chiavi in mano.