ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(3,167 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
(3,161 Views)

Sorry,

it's :

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

0 Kudos
Message 3 of 4
(3,153 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
(3,148 Views)