07-31-2006 10:38 AM
08-01-2006 06:53 PM
08-01-2006 07:09 PM
08-02-2006 02:59 PM
AG -
Thanks for the VI. I do understand that the X and Y data need to be monotonically increasing and formatted as a mesh as you showed me in your VI. However, the problem I run into is when generating the Z matrix. I have scattered points that have been measured in different X and Y locations, and do not represent a regular 2D grid. Sometimes the data is measured in a few points around a circle, for instance, but I want to interpolate over a rectangle containing the circle.
So, my Z data looks like this (see attached image):
Which I can write as a 1-D array into the griddata function in matlab
08-03-2006 04:44 PM
Hello,
I am in the process of discussing this issue with R&D. They are aware of the difficulty such a problem creates, and should get back with me soon. I will let you know either way as soon as I hear back.
Thanks for your patience,
AG,
National instruments
08-04-2006 06:58 AM
AG -
I appreciate you taking the time to look into this. Right now, I'm using the Matlab node to run griddata in my LV code. Of course, I would rather have a way to do it in 100% LabVIEW (without writing my own griddata function).
thanks.
08-04-2006 04:45 PM
09-20-2006 10:54 AM
Good News!
Our R&D department has created this functionality in LabVIEW 8.20! However, there are some issues associated with its help and documentation. To fix these issues, please refer to the following link: http://digital.ni.com/public.nsf/allkb/d97af9ecd0236d6f862571d9005ea79f
If you have LabVIEW 8.0 and would like assistance executing the griddata function with it, please contact our technical support department via email by going to the following link: http://sine.ni.com/apps/utf8/nicc.call_me
I hope this helps, and apologize for the delayed response.
Best of luck,
AG, National Instruments
09-20-2006 02:54 PM
Wow, thanks for the response. I have 8.2, and I didn't notice griddata in the list of new functions supported by the Mathscript node. I'm not too worried about the help, since I am already using the MATL version of griddata in 8.0. I'll try it out and let you know how it works.
Thanks again, great support.
10-05-2006 09:12 AM
Well, I'm not using MatLab and some help would be strongly appreciated ! Could you post an example ?
vituning a écrit: ... I'm not too worried about the help, since I am already using the MATL version of griddata in 8.0. I'll try it out and let you know how it works.