11-23-2006 12:19 PM - edited 11-23-2006 12:19 PM
@Darren wrote:
The number of elements in the array that is wired to the Array to Cluster function is dynamic, i.e. it could be anything at run-time. Since the elements in a cluster are a part of its data type, and LabVIEW is a strictly-typed language, LabVIEW cannot compile a VI that contains a cluster with an unknown number of elements. Thus, you must statically define the number of elements in the generated cluster at edit time.
And yes, we are aware of the difficulties regarding functions with these "hidden" configuration options, and we're looking into ways of addressing this issue in a future LabVIEW version.
-D
Message Edited by Jim Kring on 11-23-2006 10:20 AM
11-24-2006 01:16 AM - edited 11-24-2006 01:16 AM
Message Edited by shoneill on 11-24-2006 08:17 AM
11-24-2006 06:13 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
11-24-2006 09:54 AM
11-24-2006 10:06 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
11-24-2006 10:16 AM
Love your come-back Shane.
Since many of us are putting together the same constructs (cluster to array ...) so we can iterate through a cluster....
How would Y'all feel about adding the ability to directly index through a cluster on the edge of a For or While loop?
Is this a good idea or a bad one?
Your thoughts?
Ben
11-24-2006 02:10 PM - edited 11-24-2006 02:10 PM
@shoneill wrote:
Jim,
You mean like this (actual code)
Shane.Message Edited by shoneill on 11-24-2006 08:17 AM
Message Edited by Jim Kring on 11-24-2006 12:10 PM
11-27-2006 03:18 AM - edited 11-27-2006 03:18 AM
Message Edited by pauldavey on 11-27-2006 05:23 PM
11-27-2006 06:04 AM - edited 11-27-2006 06:04 AM
Message Edited by shoneill on 11-27-2006 01:04 PM
11-27-2006 02:26 PM