02-25-2013 05:25 AM
we get a new array of values after using interpolation function on an array in labview, but how to combine the original array of values and this interpolated set of values into one single array ??
Solved! Go to Solution.
02-25-2013 05:53 AM
Hi Mahisnair,
maybe you should explain, what you really want to achieve?
You can prepend or append values using BuildArray, you can insert values in between using InsertIntoArray, you can "mix up" values using InterleaveArrays. You really have to say what you need!
02-25-2013 06:03 AM
build array, interpolate array
02-25-2013 06:05 AM - edited 02-25-2013 06:06 AM
Damn, Too Late!
Not sure what you need exactly, need more clarification.
02-25-2013 06:43 AM
Post your VI friend. It will be good to debug
02-25-2013 09:43 AM
please run my VI using the input file, in the graph there is shown the an array of values [while dots\line in graph] and its interpolated values[ red in graph]
i need a way to get the original array of values and its interpolated value [array] into a single array.
02-25-2013 09:52 AM
02-25-2013 10:04 AM
array A = [ 1, 2, 3, 4 ]
array B = [ 1.2, 1.4, 2.2, 2.4, 2.6 , 3.2, 3.4, 3.6, 3.8 ]
i need,
array C = [1, 1.2, 1.4, 2, 2.2, 2.4, 2.6, 3. 3.2, 3.4, 3.6, 3.8, 4 ]
A is the roginal array of values, B is the interpolated values, i need both the values into a single array C
please note tht its not the same number of values to be inserted between elements of array A to get array C.
02-25-2013 10:05 AM
02-25-2013 10:10 AM
in my example that logic holds true, but if you run my VI you can see that i dont have the luxury of sorting to get values in place.
after running my Vi- in the graph, white dots is the array A, red dots is the array B;
please run and see