12-09-2025 12:30 AM
12-09-2025 12:48 AM
12-09-2025 05:15 AM
Hi Gerd,
Actually there are 11 controls in the array. The first 4 are the limit values that must be populated before proceeding.
12-09-2025 06:04 AM
Hi Paul,
That was very close to what I need. Thank you for the suggestion. The only problem was the cluster to array did not like the cluster of variants as can be seen by the broken wires in your post. With a slight tweak, it works.
Thanks,
Jim
12-09-2025 06:14 AM
Hi Jim,
@JDMarihew wrote:
With a slight tweak, it works.
Generic suggestion: when using custom clusters then you should create a typedefinition for such clusters!
Advantages:
Using typedefs helps you to create (more) readable code! In your case you would convert the variant back to your cluster typedef and use UnbundleByName to get the limit element values: much more readable and easy to understand what you are testing for.
In your current implementation you rely on some arbitrary array indices that may (accidentally) change later on…