LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make indicator transparent?

Solved!
Go to solution

Hello..:)

 

I'm working on VI where I have to give decision as OK / reject.. For this I used some indicators... I assign green color for on & red color for off... But I want those indicators should appear transparent by default.. I used color property but it's making on & off color same.. I don't want to use visible property... I'm using LabVIEW 7.1..Can anybody help me in this...?

 

Thanks in advance.. 🙂

0 Kudos
Message 1 of 25
(5,659 Views)
May I ask why you don't want to use the Visibility property ?
0 Kudos
Message 2 of 25
(5,652 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..?
Message Edited by Rupali on 09-24-2008 02:13 AM
0 Kudos
Message 3 of 25
(5,644 Views)

Hello,

 

I don't think there is a code for transparent color, but if you use the color of the front panel, the control will look transparent!  I've attached a simple VI of how to get the color programmatically.  Of course if you have three different colors/states for a boolean, you will need to use a case structure or something.  You can't just simply have a three state boolean.

 

Cheers,

Clint

0 Kudos
Message 4 of 25
(5,610 Views)
Thanks Clint... 🙂 But I can't open the VI as I'm using LabVIEW 7.1... 😞
0 Kudos
Message 5 of 25
(5,607 Views)

Hi,

 

This VI changes the led color in green, red and transparant. I can go back to 8.0. So can anyone post this VI in 7.1

 

Download All
Message 6 of 25
(5,599 Views)
Hey thanks for the doc file... 🙂 but still I have problem.. How do you get "T" in that constant...? I'm not able to get it.. 😞 I'm really sorry for this but I'm new to LabVIEW.. 😞
Message 7 of 25
(5,591 Views)

It is in the Upper right corner of the color pallet. (LV 8.6)

 

No need to be sorry, we are all still learning Smiley Wink

Message Edited by K C on 09-24-2008 01:17 PM
Message 8 of 25
(5,589 Views)
Good one..Smiley Happy now can you please tell me where is the color pallet...? Is it with LabVIEW 7.1 also...?
Message 9 of 25
(5,583 Views)

Shift-right-click on empty space in your diagram and select the color tool from the tool palette (lower tool)

 

Right-click on your color constant and choose the color you want T is at the upper right corner.

 

I am sorry, but these basic skills you should know when your want to program with LV. Although after all these years I still miss a few...........Smiley Very Happy

 

 

I will check this at home this evening with 7.1.

Message Edited by K C on 09-24-2008 01:42 PM
Message 10 of 25
(5,565 Views)