LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about Unbundle by Name

I have a problem with the «Unbundle by Name » because I don't know how to write the name of the differents cases.For exemple in my Para-Machine.vi, I use it, I need 14 elements , then When I wide the Unbundle by Name , in fault, it put [5][5] [5][5][5]......What I do to have the name [6][7][8], etc.
I think it is not difficult for make it but I don't find it.
Thanks you for helping me.
0 Kudos
Message 1 of 6
(3,149 Views)
Effectivement, ce n'est pas bien difficile : lorsqu'on convertit un tableau en cluster, il faut obligatoirement préciser la taille du cluster : Click-droit sur la fonction arrayToCluster, puis "Cluster size..."

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 6
(3,149 Views)
Hi!

For some reason, I bet CC has already answered your question! But since I don't really know, I'll try to answer your question as well. It looks like in your Array to Cluster function you have the Cluster size set to 6 elements. This means that no matter what the size of the array you are giving to the Array to Cluster function, it will only output a cluster of 6 elements. So, this means that all of the "[5][5][5][5]..." elements are just repeats of the [5] element.

To change your "cluster size" you can right click on the Array to Cluster function and choose Cluster size. Note that this setting cannot be changed programmatically.

Hope this helps!

Travis H.
National Instruments
Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 3 of 6
(3,122 Views)
That's pretty much what Chilly Charlie said.
- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 6
(3,118 Views)
Hi Tbob and Travis !
Next time I promise to give the English version...

CC
Chilly Charly    (aka CC)
0 Kudos
Message 5 of 6
(3,104 Views)
Hello,
Thanks you very much for your help.I am beginner in Labview but I'd like to learn it because it is a good tool for engineering.
Bye!!
0 Kudos
Message 6 of 6
(3,094 Views)