03-16-2010 10:02 AM
Is there an easy way to filter a 2d array, based on the values of two of the columns? For example in my VI attached the output array has the following format:
10:57:07.776
Solved! Go to Solution.
03-16-2010 10:15 AM
Quick answer:
Convert your 2d array to an array of cluster where the order of the cluster defines how tie-breakers are handled (first fields are equa so serach on second item in cluster)
Run that thru a Sort 1d array and convert back to a 2d array.
Faster approach:
Only bundle up the serach fiels along with an index. Do the search then use the index to re-order the original array.
Ben
03-16-2010 10:46 AM