LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interpolation of array

Hello

 

I have a 2D array, of 2 columns and 25 rows. In column 0 the output from a wind turbine is specified, and in column 1 the corresponding windspeed is specified. The windspeed is listed as integers (0,1,2,3,4,5...). From some measurements however, the windspeed is of type double. I then want to interpolate those windspeeds so that i can get the corresponding wind power output. As I have understood, the Interpolate 2D.vi can be used for this. The problem is that I can't figure out how I get it to work. Can anyone help me with this?

 

Greetings

Kristoffer

0 Kudos
Message 1 of 3
(2,410 Views)

My mistake. The windspeed is ofcourse listed in column 0, and the power output in column 1. Apart from that, the info was correct!;)

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

A.) By definition all elements of an array must be the same type. This includes numerical definition. All doubles or integers in your case if you want an array when you are done.

 

B.) The index array function works great to pull out a single column or row from an array.

 

C.) Without code and the 2d array ....well...my crystal ball just shatteredSmiley Wink

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 3 of 3
(2,383 Views)