12-12-2014 11:17 AM - edited 12-12-2014 11:45 AM
First of all, don't put file IO inside a math routine such as my subVI. Do the file IO in a toplevel VI, then send the 2D array to the gears. Keep the code scalable and modular!
Second, you seem to completely misunderstand the function of my VI. It gets data from a 2D array based on fractional indices. You would only get nonzero values if your array would contain at least 162250 rows.
You need to remove the column and row headers to get the intensity data.
You could for example get the fractional indices from the header column/row using "threshold array", then retrieve the interpolated value using my VI.
Try it!
12-12-2014 03:34 PM
Sory i checked other treshold headers and I am not sure understand use treshold with your vi.
Can you check my attachment? Now i can read value but i am not sure is this true 🙂
Thank you.
Kerem
12-12-2014 03:48 PM
12-13-2014 04:17 AM
Thank you.
Now i understand threshold function with your example.
B.R.
Kerem
12-31-2015 04:18 PM
Note that a new bilinear interpolation for 2D arrays has been posted here. It performs faster.
01-19-2018 01:01 PM
hello again
can you tell me altenbach for this bilinear interpolation subvi which mathematical equation did you use ?