LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change the color of square LED boolean

Solved!
Go to solution

As title, I want the color of off form is transparent, but it does not display as my expectation.

 

I also tried to use color 4 of property node, but I fail.

 

How can I change the color? Can anyone help me?

 

color change.png

0 Kudos
Message 1 of 13
(3,474 Views)

Can you please state, what you are expecting and what is happening?

Capture.PNG

This is with same properties.

0 Kudos
Message 2 of 13
(3,434 Views)

hi , 

You can change the color buy two Methods :

1 : using color [4]

Capture1.PNGCapture2.PNG 

2 :  using Properties 

Capture3.PNG

0 Kudos
Message 3 of 13
(3,422 Views)

ufaruque123, Emna20 thanx for your responses! 

 

Strangely, when I select transparent, the color become dark green in this boolean.

 

Besides,I expect that I can change the dark green to transparent.

 

Furthermore, in this case,I want to change the dark green to white without special effects.

0 Kudos
Message 4 of 13
(3,409 Views)

hi antinhia , 

chek this vi ;

Best regards,

Kudos are welcome .

 

0 Kudos
Message 5 of 13
(3,394 Views)

hi, Emna20

 

I find that my LabVIEW version is 2016 I can not open the file. > <''

0 Kudos
Message 6 of 13
(3,392 Views)

You are using LabVIEW 2014.  This appears to be a bug for this control -- it appears to have been fixed by LabVIEW 2016 (the oldest system I currently have readily "at hand").  "Transparent" really isn't a color (it is a special value that LabVIEW "catches" and handles, but apparently the code was not implemented for Square LEDs at some point, including LabVIEW 2014).

 

Upgrade your version of LabVIEW and this problem should go away.

 

Bob Schor

0 Kudos
Message 7 of 13
(3,384 Views)

hi ; 

if you want to change the color of the square LED from dark green to white  you have to use properties (colors : off) .

Capture4.PNG

0 Kudos
Message 8 of 13
(3,381 Views)
Solution
Accepted by topic author antinhia

Hi antinhia,

It looks like you have applied the color directly to the control.

 

You can fix by either of method,

Right click on the control and go to Visible Items--> Decal and un-check it

or 

Select the paint brush and click it on the border of Boolean indicator(You can move the cursor at different part and observer the color) and set it as transparent

 

Or create a new control and don't apply the color on Boolean indicator using Tools (set color), set the on\off color using indicator properties as mentioned in another reply.

Message 9 of 13
(3,373 Views)

thanx you a lot Emna20!

 

yeah I know that I can change the color through Properties.

 

My ideal is the booleam only displays pure white without any special effect.

 

thanx Bob Schor! this is such a tangled bug, now I ignore it.

0 Kudos
Message 10 of 13
(3,372 Views)