From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Cluster

Solved!
Go to solution

Hi,

 

Please Why  can I Choose element Data of my Cluster.

See in the picture below

 

lav.png

 

0 Kudos
Message 1 of 4
(2,372 Views)

I don't understand your question.  You are asking "why" you can choose something.  What exactly do you mean?

0 Kudos
Message 2 of 4
(2,366 Views)

Sorry,

it's :

Why I can't choose element Datas of my Cluster ?

0 Kudos
Message 3 of 4
(2,358 Views)
Solution
Accepted by topic author Fred19ni

Ahhh.  Completely different message.

 

If you have a wire with data that does not have a label and bundle it into a cluster, you can access it by the regular unbundle, but cannot unbundle it by name because it doesn't have a name.  The solution is to give it a name.

 

Two ways to do it.  Use a typecast on the brown wire to typecast it to the same type, but using a constant that has a name in its label.  The other is to wire a cluster constant into the top of the unbundle and make sure all the elements in that cluster have a name in their label.

Message 4 of 4
(2,353 Views)