LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you determine the index of an element in a cluster?

Solved!
Go to solution

I've got a small program that I put together, as I'm just trying to get up to speed on Labview.  I have a cluster boolean buttons and for some reason the top buttion is coming through as Index 3.  There are four buttons in the cluster, but for some reason, there's been a shift.  The top one should be Index 0.  How do I get things corrected?  I can't see how to determine the index of each button through Properties.

 

Thanks

0 Kudos
Message 1 of 3
(2,409 Views)
Solution
Accepted by topic author newenglandguy
The order of the elements in a cluster is the same as the order you added them. To change the order, just right click and select 'Reorder Controls in Cluster'. If you use Unbundle by Name, you don't care about the order.
Message 2 of 3
(2,405 Views)

You can change the order required by just clicking the element by using a unbundle

 

un.JPG

0 Kudos
Message 3 of 3
(2,378 Views)