03-16-2008 07:15 AM
03-17-2008 04:44 AM
03-17-2008 05:32 AM
Hello ttrr,
Mathscript is also a good solution. But LabVIEW requires a patch for using 'griddata'. However, even if I've installed the patch, the Mathscript didn't work.
Anyway, I don't think Mathscript will solve the problem without changing the Blockdiagram. Since the algorithm is more or less the same for 'griddata'.
03-17-2008 08:18 PM
Hi,
Would you please let me know what's the problem in MathScript function griddata? Why do you think MathScript can not solve your problem withouth changing the BD?
I would appreciate if you coulde share some ideas with us.
03-18-2008 04:55 AM
03-18-2008 05:03 AM
03-18-2008 05:07 AM - edited 03-18-2008 05:14 AM
Hi,
well, then I'll post the subVI for the extrapolation here. You can read the example data on the front panel, for example X,Y,Z.
03-18-2008 09:24 AM
03-18-2008 10:47 AM
03-18-2008 08:38 PM - edited 03-18-2008 08:39 PM
Hi,
I think you are using LabVIEW 8.5. There are some bugs in LabVIEW 8.5 which cause the 'linear' and 'cubic' options of griddata to return incorrect result. Fortunately, we have already found these bugs and fixed them. If you got a chance to try the LabVIEW 8.6 Platform Beta, you could verify the fix. Here, I attach some snapshots of the result for the 'cubic' option of griddata with the fix. I specify the XLength and YLength to 1000. Are these the results you want?
As to the crash problem, I am unable to reproduce it on my machine. I follow the instruction to set XLength to 1000 and YLength to 880. All combination of method and option of griddata work well. Therefore, I do not have any idea about it. Maybe, you can try to reinstall the LabVIEW software.
I do not have access to MATLAB software. Hence, I am unable to run your code with MATLAB Script Node.
Many thanks!!!