12-17-2007 10:04 AM
12-17-2007 11:20 AM - edited 12-17-2007 11:21 AM
If you have LabVIEW 8.2.1 or later, you can use the mathscript griddata function.
See http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=249724#M249724
If you want to fit it to a polynomial plane of a desired order to yuor points, you could use "general LS fit". Here's an example (ignore the levenberg marquardt parts).
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=129944#M129944
Attach some typical data and I'll give it a try. 🙂
12-18-2007 05:22 AM - edited 12-18-2007 05:22 AM
Hi altenbach,
first of all thanks for spending time on this problem. As a matter of fact i played around with your impressive 3D interpolation VIs already, but I didn't get reasonable results (caused by wrong usage of the operator called Kane, i guess 😉 ). I attach some example data file (ASCII) to this reply. First column are the X values, second the Y values, third the Z values. Maybe you've more success.
Thanks in advance.
Kane
12-18-2007 08:21 AM
12-19-2007 04:16 AM
Hi Gerd,
i give your code a try and get some reasonable results, but not quite the one i wanted. First of all I get a rectangular grid instead of an elliptic one as shown in your picture (altenbachs link does the same). I also don't understand some wires and structures in your code example (what are the other cases of the case structure, for example?).
So could you provide the VI so that I can look by myself what it is doing? And do you have a hint for the elliptic grid?
Thanks a lot in advance.
Greets
Kane
12-19-2007 04:33 AM
12-19-2007 06:25 AM
12-19-2007 06:31 AM