12-03-2014 03:23 AM
12-03-2014 03:28 AM
Hi Mo,
you do it the same way: using property nodes…
You know in an array all elements share the same properties? You will not be able to hide only LEDs in one cluster element of your array, they will be hidden in EACH element!
12-03-2014 03:29 AM
I don't think you can - you can't easily address individual items in a cluster - especially not inside an array. You might need to think about displaying your data in a different way.
If you made it an array of LEDs inside a cluster, then you could only write to one, two or three of the LEDs (i.e. the array size) - the remaining items would appear greyed out.
12-03-2014 03:37 AM
If the elements are always zero based in your array (meaning: you don't want to "remove" elements in an arbitrary location within the array) you can limit the amount of displayed rows/columns (depending on the alignment of the array) by setting the "Number of Visible Rows" or "Number of Visible Columns" property.
Norbert
12-03-2014 03:52 AM
12-03-2014 03:55 AM
Can you create a small design draft showing what you are up to?
Without that, i have a very hard time to imagine your request....
Norbert
12-03-2014 03:55 AM
Hi Mo,
I want to show two LEDs at 1*1 inside array and three LEDs at 1*2 inside array...
What is "1*1 inside array", what is "1*2 inside array"?
Cant I invisible one LED at 1*1?
In an array all elements share the same properties (except value)!
No, you CANNOT have an element with different properties than other elements!
12-03-2014 07:52 AM
Hi Mo7mmed
I couldnt understant too. but I think "Numcols" in property node, may help you.
12-03-2014 08:14 AM
Right-click and LED, Create Property Node.
12-03-2014 08:46 AM
OK Array of clusters containing "Invisible" controls-
Since all elements in an array must share all properties except value we need a solution where the value property controls visibility as far as users are concerned. LEDs (Booleans) are out-
BUT, if you used Color boxes instead of booleans you can set the value to "LED Off" "LED On" or "Transparent"