ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
10-07-2006 07:51 AM
10-09-2006 09:07 AM
I would just post process the results. Since the first element in the Objects output is the X coordinate of the center, you could just run the Objects output array through Sort 1D Array. This will always put the leftmost object first.
Bruce
10-09-2006 12:01 PM
10-09-2006 12:23 PM
When you sort an array of clusters, it sorts by the first element in the cluster. If there are identical elements, it sorts the second elements, etc.
You just got lucky that the X coordinate was the first element.
Bruce