LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create an cluster

Solved!
Go to solution

Hello,

 

How can I create a cluster ?

 

Regards.

Peter.

Labview 2010
0 Kudos
Message 1 of 9
(9,017 Views)

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

Rodéric L
Certified LabVIEW Architect
Message 2 of 9
(9,011 Views)
Read the LabVIEW basic 1 material yoh have the answer.
-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 9
(9,009 Views)

Hi Peter,

 

This is a good introduction to Clusters (and arrays) in LabVIEW.

 

http://www.ni.com/white-paper/7571/en

 

Regards,

Ben B.

Applications Engineer
National Instruments UK & Ireland

"I've looked into the reset button, the science is impossible!"
Message 4 of 9
(9,005 Views)
Solution
Accepted by topic author Peter Saraiva

clusters.png

 

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

 

 

Message 5 of 9
(9,004 Views)

Hello,

 

Thanks to all of you for your answers which helped me a lot. 

 

Best regards.

 

Peter

Peter.

Labview 2010
Message 6 of 9
(8,975 Views)

 Hello 

 

that is not helpful. Give Peter a break.

 

Regards,

peterfan3000

0 Kudos
Message 7 of 9
(4,625 Views)

@peterfan3000 wrote:

 Hello 

 

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
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 8 of 9
(4,614 Views)

@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 😄 )

0 Kudos
Message 9 of 9
(4,573 Views)