LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert array of clusters to cluster of arrays without for loop


Ben wrote:

...and one more thing.

 

Type Definitions will help manage large data structures like the one you are using. if you aren't alrady familiar with type definitions you may want to review the Nugget I wrote on Type Definitions.

 

Ben


Subsequently to Ben's post I've made the required TypeDefs for your nice cluster.

Feel free to use them or discard them Smiley Wink

Message 11 of 12
(1,149 Views)

Hi, Ben!

 

Thank you for making TypeDefs for me. I didn't miss the previous link you gave, but had no time to learn TypeDefs.

 

It appears that task B is more actual for now and I don't argue it could be done using for loop. But it still would be nice to have a unversal "ArrayOfCluster_to_ClusterOfArrays" function.

 

Following your advice I downloaded Open G library, looks serious. Spent some time to take a look, wrote a program that names arrays in my

ClusterOfArrays the same way the elements were named in orgin cluster. It took the program several minutes to finish the work!!! Maybe i did something wrong, 

but i'm not sure I'll be able to examine it soon: sometimes the nessesity to work fast doesn't let to work the best way you can.

 

I'm going to leave it all the way it is for a while.

 

Idea. 

 

 

0 Kudos
Message 12 of 12
(1,121 Views)