LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

combining clusters

hello,
i have a situation where iam using about 5 clusters of same type in the front panel.
using a state machine structure i have to chage the values of the indicators in each state depending on my requirements. now iam using 5 different shift registers to accomplish my task but if have to add more indicators of same kind i am having to make my design very complicated with all the shift registers.
now i am thinking of using a single shift register and and then use all the clusters using unbundle by name  for which i have to first combine all my clusters in to one single cluster. how can i do it?
 
thanking you for your time
 
with regards
 
vijay 
0 Kudos
Message 1 of 4
(2,815 Views)
As you say, the clusters are all of the same type. In this case I think the easiest solution is to build an array of clusters and use that array in the shift register. In the state machine, index the array to get the cluster you want, do your changes to it and then use replace array subset to replace the old cluster with the updated one.

Regards, Daniel

Message Edited by dan_u on 09-04-2006 01:27 PM

0 Kudos
Message 2 of 4
(2,813 Views)

If all clusters are similiar, why not use an array of clusters??

That way, you will have only one shift register

wherever in your state machine, you need a particular cluster, index out that element from array, unbundle it and use it!

0 Kudos
Message 3 of 4
(2,807 Views)

thanks for the replay ,

ill try it out and get back to you if any problems

with regards

vijay

0 Kudos
Message 4 of 4
(2,807 Views)