LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to invisible LED in cluster from front windows

Hi guys,
I have cluster inside array1*8 it has three LEDs, sometimes i need one or two LEDs, so how to invisible extra LED from cluster.
I knew how invisible some buttons or string...etc. But my question how to invisible inside cluster that is inside array

Thanks and best regards.
0 Kudos
Message 1 of 11
(3,223 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 11
(3,220 Views)

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.


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 3 of 11
(3,219 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 11
(3,202 Views)
Hi GerdW, Sam and Norbert_B
Thank you about your comment.
Let me give you example
I want to show two LEDs at 1*1 inside array and three LEDs at 1*2 inside array..... Etc.
Cant I invisible one LED at 1*1????
Thank you.
0 Kudos
Message 5 of 11
(3,196 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 11
(3,187 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 11
(3,186 Views)

Hi Mo7mmed

I couldnt understant too. but I think "Numcols" in property node, may help you.

0 Kudos
Message 8 of 11
(3,151 Views)

Right-click and LED, Create Property Node.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 9 of 11
(3,141 Views)

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"

Capture.PNG


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 11
(3,133 Views)