取消
显示结果 
搜索替代 
您的意思是: 

how to create an cluster

已解决!
转到解答

Hello,

 

How can I create a cluster ?

 

Regards.

Peter.

Labview 2010
0 项奖励
1 条消息(共 9 条)
9,986 次查看

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
2 条消息(共 9 条)
9,980 次查看
Read the LabVIEW basic 1 material yoh have the answer.
-----

The best solution is the one you find it by yourself
0 项奖励
3 条消息(共 9 条)
9,978 次查看

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!"
4 条消息(共 9 条)
9,974 次查看
解答
已被主题作者 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

 

 

5 条消息(共 9 条)
9,973 次查看

Hello,

 

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

 

Best regards.

 

Peter

Peter.

Labview 2010
6 条消息(共 9 条)
9,944 次查看

 Hello 

 

that is not helpful. Give Peter a break.

 

Regards,

peterfan3000

0 项奖励
7 条消息(共 9 条)
5,594 次查看

@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 项奖励
8 条消息(共 9 条)
5,583 次查看

@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 项奖励
9 条消息(共 9 条)
5,542 次查看