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

labeling clusters

If a cluster is made from strings, I can label each component of the cluster. If a cluster contains a concatinated string, I can't label it.
0 项奖励
1 条消息(共 15 条)
4,235 次查看
Hi exo,

could you attach an example? Give some more information? Which LabView version do you use?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
2 条消息(共 15 条)
4,229 次查看

You can label each and every component of a cluster if you do it like this.

 

3 条消息(共 15 条)
4,224 次查看
It's a bit messy. Look at Star Parameters. It's in event case 2 on the block diagram.
0 项奖励
4 条消息(共 15 条)
4,212 次查看
Hi exo,

yes, it's messy - especially with all those missing subvis 极度高兴的表情

Just right-click the string indicators in the cluster, select Visible Items -> label, type some text 眨眼表情

Hints:
- you can use "format into string" instead of "concat strings" to do formatting (%s:%s:%s to build a time string)
- you can resize the "index array" function to index more than one element at a time
- it's NO good ieda to have one event structure inside of another!
- it's not neccessary to wire a control to its own local

Message Edited by GerdW on 10-02-2007 04:56 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
5 条消息(共 15 条)
4,199 次查看

See the answer here.

Messy is a pretty accurate description. Don't see any reason to write to the indicator and local variable at the same time in two of your sequences. Not sure what you are trying to accomplish with the three separate event stuctures you have nested in the main event structure either.

0 项奖励
6 条消息(共 15 条)
4,192 次查看
Gerd

I always find it amazing how much information I can leave out of a question. I wanted to label the first two items in the cluster individually. I can get around it what I put in the label but when I right click I only am able to add one labe for the first to items in the cluster.
0 项奖励
7 条消息(共 15 条)
4,184 次查看
Hi exo,

I labelled the first two items by right-clicking them.
Did you really selected the second one when trying to label it? Even when indicators overlap you can label them.

Or do it like Dennis has shown when you initialize the "star parameters" somewhere on the left side of your (huge) block diagram...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
8 条消息(共 15 条)
4,172 次查看
I hate sub vi's. I also use a lot a local varibles to cut down on wiring.


Dennis, I write to the local varible because I will use it later, however I'm not sure exactly where you are referring to.
0 项奖励
9 条消息(共 15 条)
4,168 次查看
Gerd
Got it. What I had to figure out was that I had to move thinks around to make room for the extra label.

Thanks
0 项奖励
10 条消息(共 15 条)
4,164 次查看