07-22-2020 03:22 AM
Hi all,
I build the attached VI to generate a linear profile based on some y-t points. I am using the linear 1D interpolate subVI from the NI_Gmath library to interpolate the points in between the defined y-t points. It works fine on my PC but when I send the VI to my colleague the interpolate subVI produces an empty array, see attached picture probe 50. We have the same labview version. Can someone suggest a reason and a solution to this problem?
Thanks!
Solved! Go to Solution.
07-22-2020 04:18 AM - edited 07-22-2020 04:28 AM
Hi Adel,
why don't you read the error output of the interpolation function? Which error do you get?
Unfortunately you forgot to set some default values in your VI so we cannot run it with your data…
Btw. there is a comment in the frontpanel of your VI: "every t should have a Y."!
But in your image the probe shows 4 t values with only 3 Y values…
Using some example values your VI seems to work as expected:
07-22-2020 07:04 AM
Hello Gerd,
Thanks for the quick feedback. Yes, it looks like this extra element might be the problem. I passed the info to my colleague and I am waiting for his response.
Best,
Adel