11-07-2008 12:22 PM
Solved! Go to Solution.
11-07-2008 12:24 PM
The array to cluster node defaults to 9 elements. Context-click on it and specify the number of elements.
Lynn
11-07-2008 02:07 PM - edited 11-07-2008 02:13 PM
It is fundamentally incorrect to use "array-to-cluster" followed by "unbundle" to unpack (your words!) the elements of an array. Why would you take the detour over a completely different data structure??? 😮
The correct way is "index array", it can be resized to any number of elements (and also allows you to only pick certain specific elements if you would wire the index.). There is no need to jump through flaming hoops such as using multiple primitives and specifying the cluster size.
If the first index is unwired it defaults to zero. Any other unwired index defaults to +1 of the index terminal above it. So, if you don't wire any indices, you'll get 0,1,2,3,4.... If you would wire the second index with a 5 , you'll get 0,5,6,7,8... depending on the size of the node. Simple! RIght?
Of course many times you just want to see all elements of a small array. In this case you would use an array indicator directly. No code needed! 🙂
Array to cluster is used for example if you want to place the data on a chart with N channels.