LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Cluster size programatically

Hello,

Is there a way to set the size of a cluster programatically?

Thanks,

Marce
0 Kudos
Message 1 of 6
(3,622 Views)
I came up with an alternative for the fact that the cluster bounds property is not writeable. It came out quite elegant. Hope it's what you are looking for.

aartjan
Message 2 of 6
(3,619 Views)
Aartjan :
Nice trick, I love it !

CC
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 6
(3,607 Views)
I am adding this to my user library as a merge vi, so the refnum, subvi and cluster with two string controls are always together. Very useful. If you make sure that the string controls are in position 1 and 2, you can omit the piece of code that searches the correct refnums (the while loopin the subvi). You can also replace the invisible controls with controls you are actually using in your cluster.

aartjan
0 Kudos
Message 4 of 6
(3,604 Views)
Hi Aartjan !
Here is another version of your idea. No string ! And another trick...

CC
Chilly Charly    (aka CC)
Message 5 of 6
(3,596 Views)
As a matter of fact much more elagant then mine. Stars for you, CC.

aartjan
0 Kudos
Message 6 of 6
(3,594 Views)