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: 

Array -> Cluster question

Hello all,

I want to change an array to a cluster, but you have to "pop-up" on the
icon to set the array size beforehand. Is there a way to go from an
array to a cluster with a changing array size? I don't think there is
-- I don't think you build a cluster the same way as an array (if you
use a shift register on a loop like you do an array, instead of a
cluster of elements you get a cluster of a cluster of a cluster... etc.)

If anyone has figured out an easy way to get around this limitation,
that would be great. Thank you.

Rick
--

rick@csciences.com

Chesapeake Sciences Corp.
1127B Benfield Blvd Millersville, MD 21108

Tel: (410) 923-1300 x3430 Fax: (410) 923-2669
0 Kudos
Message 1 of 2
(4,502 Views)
> I want to change an array to a cluster, but you have to "pop-up" on the
> icon to set the array size beforehand. Is there a way to go from an
> array to a cluster with a changing array size? I don't think there is
> -- I don't think you build a cluster the same way as an array (if you
> use a shift register on a loop like you do an array, instead of a
> cluster of elements you get a cluster of a cluster of a cluster... etc.)
>
> If anyone has figured out an easy way to get around this limitation,
> that would be great. Thank you.
>

Arrays allow for variable numbers of elements. Clusters have a fixed
number of elements that must be known at compile time. The number is
needed to be able to perform the conversion and know the output datatype.

Greg McKaskle
0 Kudos
Message 2 of 2
(4,502 Views)