Eric:

Although lots of posts have given you some workarounds, I want to offer you
an explanation of why what you are asking for is logically impossible.

The cluster is a fixed size datatype. Take a control of a cluster of two
elements and wire it to an indicator of the same type. Now add an element
to the control. The wire breaks because the datatypes do not match. The
indicator doesn't have enough room to store the extra element. The type
that comes out of the Array to Cluster is set at compile time and that type
propagates down the wire to every downstream terminal. Datatypes cannot
change at runtime. The assembly code generated during compilation knows how
to handle the given datatype and that's it. Some types, such as Variant,
are complex types that handle data in a generic way, and so the compiler
generates code needed to handle any possible type, a good deal more complex
since any type might be embedded in it. That's why the OpenG trick of Array
to VCluster works.

Pojundery,
Stephen R. Mercer
-= LabVIEW R&D =-


Reply via email to