02-17-2010 04:47 AM
Solved! Go to Solution.
02-17-2010 07:25 AM
LabVIEW will do primitive operations on arrays. For example, if you connect two one-dimensional arrays into the add primitive, it will return an array that contains and element by element addition of the inputs. This makes your problem fairly easy. Instead of indexing individual points, index the entire location vectors of the two points you want to know the distance between. Subtract one from the other to get the differences. Square the resultant vector. Use the Array Sum to sum it, then take the square root. This approach will scale with however many dimensions you want.
Good luck!
02-17-2010 07:47 AM