08-03-2018 04:24 AM
Hello.
I am pretty new to LabView and this is my first cry for help. I am trying to interpolate a file with around 250 000 points of data. It's the result of the scan of a 3D object (a statue's head) and the idea is to change the current scan mesh, based on triangles, to a square grid with the Z coordinate and normals as interpolated values based on the original scan.
The problem is when I feed the X, Y, Z, xi and yi arrays into the method memory usage (as seen in Task Manager) starts growing at a tremendous pace. When it arrives at around 1.6 Gb (around 60% total RAM) LabView breaks down declaring it's out of memory. This all happens within the Interpolate 2D Scattered method, specifically in the NI_AAL_Geometry.lvlib:Triangle Search.vi 5830005.
I am powerless to address this issue as it all happens in distribution vi's and not in my own code. I have tried to minimize my memory use as much as possible but still get this problem. Any ideas?
Thanks in advance!
08-03-2018 06:26 AM
08-03-2018 07:07 AM
Here's the code.
08-03-2018 07:26 AM
Here's the code.