05-18-2010 03:01 AM
I have an array to build. I'm trying to find a good implementation of my the solution to my problem. I need to build an array (small in size) of clusters, but want to have my block diagram simple to read and easy to update if/when required. (Performance is not the main factor in this code).
I have created an example VI (in 2009) using strings instead of clusters do demonsttare what I am trying to do, and the three solutions I have come up with so far. Any feedback would be most welcome. - either on the exitsting techniques or a better one. I don't relly like the method used to produce Array 1 because it is difficult/not as easy to read on the BD.
Cheers
James
05-18-2010 04:35 AM
I would go for the third solution, since you have one dataset (array of clusters) that are tight together.
If you want to go for solution 2 I would suggest The OpenG toolkit has a function 'Conditional Auto-Index'.
This will do almost like your number 2, but you don't need an initial (A) array.
Ton
05-18-2010 05:01 AM
so you agree that solution 1 in not that readable too then Ton?
Great.
Thanks for the feedback
James
05-18-2010 05:12 AM
James W wrote:so you agree that solution 1 in not that readable too then Ton?
Definitly.