LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 15
(4,007 Views)
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
Message 2 of 15
(4,001 Views)

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

 

Message 3 of 15
(3,996 Views)
It's a bit messy. Look at Star Parameters. It's in event case 2 on the block diagram.
0 Kudos
Message 4 of 15
(3,984 Views)
Hi exo,

yes, it's messy - especially with all those missing subvis Smiley Very Happy

Just right-click the string indicators in the cluster, select Visible Items -> label, type some text Smiley Wink

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
Message 5 of 15
(3,971 Views)

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 Kudos
Message 6 of 15
(3,964 Views)
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 Kudos
Message 7 of 15
(3,956 Views)
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 Kudos
Message 8 of 15
(3,944 Views)
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 Kudos
Message 9 of 15
(3,940 Views)
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 Kudos
Message 10 of 15
(3,936 Views)