LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interpolating data

I have a set of 20 data points that make up an arc. The data consists of time and then a lat/long position. I want more than 20 data points. I want to interpolate and fill the gaps in between my existing data to make a smoother curve so I can have let's say 100 points. How can I do this using functions in LabView specifically?

0 Kudos
Message 1 of 5
(610 Views)

LabVIEW has a bunch of math functions for interpolation and extrapolation.

 

https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/menus/categories/mathematics/aninterpextra...

santo_13_0-1719518960283.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 5
(595 Views)

Depending on your data, if very simple linear interpolation is all you need, you can just use "Interpolate 1D Array" from the Array palette.  Nowhere near as many options as from the palette Santo showed, but it's way easier if it's all you need.

 

Kyle97330_0-1719533819182.png

 

0 Kudos
Message 3 of 5
(558 Views)

fitting an arc is a common problem in measurering by vision systems. If you know it's an arc you can fit an arc and use the arc parameters to show more points.

I don't have vision vis installed but maybe there or in the vi packet manager you can find a vi to fit an arc.

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 4 of 5
(517 Views)

@santo_13 wrote:

LabVIEW has a bunch of math functions for interpolation and extrapolation.

 


oh, I wasn't awre of the "search ordered table.vi"

0 Kudos
Message 5 of 5
(503 Views)