Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66779

how does cluster work?

$
0
0

Hi all,

  I am following the help to learn how to use cluster to reduce the number of input/output but it is pretty confusing that how to tell which element is which. Does it follow the order we added to the cluster or not? I set a cluster contains 4 DBL numbers  as a input to my subvi. I name the elements of each DBL as A, B, C, D. In the main code, I create a cluster contains 4 DBL and trying to feed that cluster into the subvi. But how can I tell which number I feed in the main code is A, B, C and D?

 

For example, I create a subvi with only one cluster input. The cluster has 4 DBL numbers named A, B, C and D.

 

T2p.png

 

Now if want to feed a cluster into that subvi, I have to create a cluster and link the 4 numbers into that cluster. But if I use bundle cluster, I have to link the number in order so to fill A, B, C and D. But if that subVI was created by someone else, how can one tell the order of elements in the expected cluster?


Viewing all articles
Browse latest Browse all 66779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>