LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i'm trying to interpolate 8 sensor readings in a foot shaped graph.

hi,
i am trying to use interpolation of 8 different sensor readings and graph the results in a foot shaped graph.  i am not sure how to do that in labview.  help!!!
0 Kudos
Message 1 of 5
(3,031 Views)
Hello Rowa,

Could you describe a little bit more what you need, for example, what do you mean by "a foot shaped graph" ?

The more you describe what you need the more easy it will be for us to help you 😉


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 5
(3,025 Views)
Alright, basically i am trying to do interpolation of sensor readings in a foot shaped region, without having to interpolate the points outside the region.  for example, if sensor 1 reads 5 volts, and sensor 2 reads 1 volt, then i should be able to see the area around sensor 1 light and it gradually decreases to the level of sensor 2 which reads 1 volt (if we are using a color scale with having 0 being black and gradually lightens up as the voltage reading goes up for example).  i am not sure if this help, but if it doesnt then i would be more than happy to answer any questions.  i reallyyyyyyyyyyyy need this to work for my thesis projectttttttt.  Thanks TiTou for your help Smiley Very Happy
0 Kudos
Message 3 of 5
(3,021 Views)
Ok,
I assume you want something like a map (2D) with the color to be the information, is that it ?

About interpolation, well you have many way to interpolate, the appropriate way will depend of the data type you have ; is that a 1D or 2D array ? what kind of interpolation you want ? Linear between 2 points, a spline interpolation ?...

A couple of years ago I made a VI to do "2D spline interpolation", I had  a 2D map of temperature values and wanted to visualize a nice interpolated color map. If you are interested in this I'll try to dig it out.

You can also find the attached example on the "example code" part of the forums 😉

Hope this helps.




We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 5
(3,019 Views)

Hi again TiTouSmiley Happy

well my data array is a 1D array with 8 values.  Basically the way i was thinking of doing the interpolation and the graph is first by creating a matrix with zeros outside of the foot shaped graph and placing the 8 sensor values as variables in the matrix according to the way i placed them on the mat. the reason for this is so i can display the results in real time as the averaging and filtering is happening to the data that is acquried continously from the DAQ card.  then at the end plot an average of these readings.  And yes, i am trying to do linear interpolation between these sensors, but i am totally lost of how about to do that.  Hope to hear from you soon.  Smiley Very Happy thanks again for your help

 

Rowa

 

0 Kudos
Message 5 of 5
(3,007 Views)