04-20-2007 04:11 AM
04-20-2007 04:16 AM
04-20-2007 04:49 AM
04-20-2007
05:14 AM
- last edited on
11-15-2025
03:02 PM
by
Content Cleaner
You can resize the Index Array function to output as many elements as you like.
In any case, the difference between a cluster and an array is that a cluster has a fixed number of named elements and the array has a variable number of elements, so you can't automatically know at design time how many elements you will have.
If you do know, you can use the array to cluster primitive and right click it to select the number of elements in the cluster.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
04-20-2007 05:15 AM
04-20-2007 08:33 AM
04-20-2007 08:37 AM
04-20-2007 11:15 AM - edited 04-20-2007 11:15 AM
@Olli wrote:
That is exactly what I'm looking for!
And don't forgret that if you want the elements in order, you don't even need to wire the indices. 🙂
Similarly, if you only wire the first index, it will be incremented automatically for the successive elements.
The image shows two possibilities, there are many others.

Message Edited by altenbach on 04-20-2007 09:16 AM
04-22-2007 02:23 PM
10-28-2017 07:13 AM
Hello,
I have a similar but different problem. I want to get all the elements of a subarray one by one in each loop. I have 271 elements in the subarray. Is there any way I can do it? I attached the image of my VI for better visiualization.