Hi,
You can create a cluster:
-on the block diagram using the bundle function
-on the front panel by droping a cluster control from the controls palette then you just have to drag and drop controls into this cluster.
Regards
Hi Peter,
This is a good introduction to Clusters (and arrays) in LabVIEW.
http://www.ni.com/white-paper/7571/en
Regards,
You can bundle two or more wires together using the 'bundle function' - the output is a cluster. This is the top example.
The other way is drop the constand cluster and drag any constants (like the numeric and string) into the cluster. This is the lower example in the VI snippet. You can also do this on the frontpanel - drop the cluster constant on the frontpanel and drag any controls or indicators into it. They have to be controls or indicators - you can't have a mix of both.
Also in case you are not familiar with the concept if you are working with big clusters you should 'type def' them. In LV2011 you do this by right-clicking on the block diagram and clicking 'make type def'. What this does is creates a separate file where the new cluster (or any other type of control) is saved. Then if you change the cluster - say add a boolean alogn with the numeric and string - the change happens and is propogated through your program. This stops you getting broken wires when you have two clusters wired together, you change one and not the other.
Regards,
Dave
Hello,
Thanks to all of you for your answers which helped me a lot.
Best regards.
Peter
@peterfan3000 wrote:
Hello P@Anand,
that is not helpful. Give Peter a break.
Regards,
peterfan3000
You do realize that you are responding to a thread that is 10 years old, right? Very good chance P@Anand isn't even around any more.
@Mark_Yedinak wrote:
You do realize that you are responding to a thread that is 10 years old, right? Very good chance P@Anand isn't even around any more.
I really hope he is still around, but maybe not on this forum. 😮
(I actually met him personally a few years back 😄 )