Hi,
You have combined different parts of the example code that does not quite belong together...In the example where I initialize the array prior to filling it I use the replace function...not the insert. If you use an insert function it will resize the array every time. Resizing arrays is ineffective, if the arrays are small and/or memory/speed is less important though don't bother initializing the array, just add cluster elements using the build array function (as in the first example).
You also convert the cluster to an array, that's not necessary, what you want is to create an array of such clusters, and then put the clusters into that array (i.e. wire clusters straight into build array or replace array element, n
o conversion to array first...if you do that you will get an array of arrays...).
Attached is one example where you can add up to 10 config sets (clusters)...each time you add a cluster there is a VI that checks whether the input data is OK...if it is, and there is still place in the array for another test it will add it...
And another example that builds the array continously...that will make the array resize every time an element is added which is a slower and more memory expensive method, but easier...