07-21-2017 03:12 PM
Hey so I am an extremely new user to Tabview so lease keep this in mind when helping!
I have created a XY graph with approximately 50 discretely measured points. However, I would like to interpolate what a point may be in-between two measured data points.
I understand that apparently you can create a line between two points on your graph and somehow create a function from which you can plug in say point Y to get out point X.
My question is how is this potentially done as I have been having no luck whatsoever and cannot find any help anywhere.
Thank you for any and all help in this matter!
07-21-2017 05:26 PM - edited 07-21-2017 05:26 PM
I am not familiar with Tabview either, but I know some LabVIEW. 😄
It usually helps if you would attach your Vi containing the data. Typically "interpolate 1D array" will work just fine). have you looked at the help?
Are your x-points equally spaced or does the graph contain e.g. loops and such.
07-21-2017 05:56 PM
Thank you for the response. I forgot to mention that I pulled up the Interpolate 1D array and put in a array of X values with a control. However, I do not know where the control is getting numbers from and when I set an indicator from the interpolate 1D array I am getting numbers which make no sense.
Also the XY graph is not linear. It has curvature between some of the points.
07-21-2017 06:08 PM - edited 07-21-2017 06:10 PM
So you have your xy points and you want to calculate a linearly interpolated y for any arbitrary x-value in the range of x-min and x-max. Right?
@OpticalDataDriver wrote:
However, I do not know where the control is getting numbers from and when I set an indicator
from the interpolate 1D array I am getting numbers which make no sense.
Obvious you have things hooked up wrong. A control is read by polling its terminal, and the value is set by the operator while the program is running. In what way do the numbers make no sense?
Again, attach your VI!!!
@OpticalDataDriver wrote:
Also the XY graph is not linear. It has curvature between some of the points.
The question was if the x-values are spaced equally, not if the graph is linear.
07-21-2017 06:11 PM
My apologies I thought it attached.
Also thank you for your patients as I just started labview a week ago.
Yes the points are equally spaced.
07-21-2017 06:32 PM - edited 07-21-2017 06:35 PM
This is an image, not a VI. Please attach the vi and data.
If the x values are equally spaced, you don't need an xy graph.
(Posting by phone, will look later)