01-13-2005 07:09 PM
08-19-2008 04:18 AM
Hi Everyone
I have a 2D array which has the frequency values and voltage values. The first column has the data in the increasing order so interpolation function works fine. you can also do it if the data is decreasing. The second column does not have increasing or decreasing data. Which function should i use to get the value corresponding to my frequency value from the table. I am attaching the VI. I just started using labview.
thanks in advance
sam
08-19-2008 12:26 PM
unr wrote:I have a 2D array which has the frequency values and voltage values. The first column has the data in the increasing order so interpolation function works fine. you can also do it if the data is decreasing. The second column does not have increasing or decreasing data. Which function should i use to get the value corresponding to my frequency value from the table. I am attaching the VI. I just started using labview.
First of all, you should edit your VI once more and load some typical default data into the controls. This way we can see what kind of data you have. (enter the data, do edit...make current valued default, save the VI, attach it here). Also tell us what results you expect for some typical inputs.
I am guessing that the first colum are the frequency values and you are trying to interpolate the frequency column and the get the corresponding frequency and voltage. Is this correct? This should not take more code than the size of a postage stamp.
Since you are just beginning to program, you should be careful not to wire right-to-left. Whatever you are doing with all these tranpose, split, etc. operation defies all logic. Can you explain what it is supposed to do?
08-19-2008 12:37 PM - edited 08-19-2008 12:38 PM
Just a wild guess, but maybe you want something like the code shown in the image.... try it! 🙂