ETech101 Posted August 2, 2010 Report Share Posted August 2, 2010 In the attached VI, I have a table and I'd like to separate or group them. Can someone please help me to do this? Thanks Grouping.vi Quote Link to comment
Christian_L Posted August 2, 2010 Report Share Posted August 2, 2010 In the attached VI, I have a table and I'd like to separate or group them. Can someone please help me to do this? Thanks Assuming there is a predefined finite list of categories/groups, process each row of the table in a For loop. In the loop create a shift register containing an array of clusters of 2D arrays. When you process each row from the table, determine which group it belongs in, pull out the corresponding cluster from the cluster array (A = index 0, B = index 1, etc.). Add the current row to the 2D array in the selected cluster and place the updated cluster back in the cluster array and pass it back into the shift register. After the loop is done you'll have a cluster array where each element contains one of your group arrays. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.