LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make indicator transperant?

Hello.. 🙂

 

i'm working on VI where i need to give decision as ok / reject.. i used some indicators... i assign green color for on & red color for off... i want those indicators appear transperant as default.. but don't want to use visible property.. i tried indicator's color property but it's not working properly.. it's making on & off color same...can anybody  please tell me how to do this...?

 

thanks in advance.. 🙂

 

duplicate message by mistake .. Smiley Sad

Message Edited by Rupali on 09-24-2008 01:19 AM
0 Kudos
Message 1 of 8
(3,252 Views)
0 Kudos
Message 2 of 8
(3,247 Views)

Hi Rupali,

I think you need to clarify a bit.

  • Do you mean, you need sort of Alpha blending for your indicator?  
  • What kind of indicator is it?
  • Why is the visibility property not appropriate?
  • Why do you need it transparent (I never came to this problem)?

Greets, Dave
Greets, Dave
0 Kudos
Message 3 of 8
(3,244 Views)
The VI I'm working is for testing machine.. And it is needed that the operator should be able to see all the indicators... :smileysad: That's why I don't want to use visibility property.. I don't want alpha blending for this.. It's a simple indicator that you can find on function as square LED... I have changed it's on - off color.. When the decision is true it will be on showing green color and when it's false it will be off showing red color.. But when there is no decision means during testing I want those indicators to be transparent... Is there any solution for this..?
0 Kudos
Message 4 of 8
(3,236 Views)

You can modify the color at runtime by writing to the Colors[4] property.

As long as there is no decision make sure the value is false and set the false color (index 0) to transparent. As soon as there is a decision, change the false color to red and set the boolean value.

If you just use it as a status indicator it might be simpler to use a color box indicator and write the color value to it.

 

0 Kudos
Message 5 of 8
(3,226 Views)
Can you please show me how to use colors[4] property.. I tried that one also but was unable to get desired output.. 😞 
0 Kudos
Message 6 of 8
(3,223 Views)

The attached code shows how to make the false value transparent.

To use the color again, replace element 0 with red.

 

 

0 Kudos
Message 7 of 8
(3,217 Views)
OK got it.. Thanks.. 🙂
Message Edited by Rupali on 09-24-2008 03:07 AM
0 Kudos
Message 8 of 8
(3,210 Views)