LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

colour and transparent boolean

Hello everyone,

 I want to set the boolean indicator to colour and transparant. This mean when error occurs, boolean indicator will be changed to red and transparent, so this boolean will not cover the below floor map. I set all boolean onto the actual floor map and i don't want to cover floor map. I can set only transpaent at no error state but i cann't set red colour and transparent at error state.. Is there any way to set. Thanks for all in advances..

0 Kudos
Message 1 of 10
(6,401 Views)

What is the "floor map"? If it is an image indicator, you can easy change the color tint of a circular area. It's all just data!

 

Can you show un a picture or VI example to illustrate what you have in mind?

0 Kudos
Message 2 of 10
(6,397 Views)

Thanks for ur quick response. I attached the floor map with error state boolean. I don't want to cover the letters on the floor map even if error occurs. I also want to show tip if i set mouse on the error boolean. I create new area name and set "Move to Front". if i set like this, i can see the area name eventhough boolean changed to red colour but for the very small LEDs that are covered with name, i can't point on this LED and can't see tip.

 Thanks for ur helps!!!!

Download All
0 Kudos
Message 3 of 10
(6,391 Views)

Hi,

 

If your goal is kind of alarming with "transparency" effect, then you should take a look at Picture control. You can integrate your floor map with your alarms. Its quite big amount of handwork, but you can get pretty nice results, also with tips:

 

 

(Code in attachment is not very optimal, it shows just main idea)

Other theoretical possible method is following - you can put booleans into SubVIs, then insert these VIs into SubPanels and then set transparency for each one through Property Node.

 

regards,

Andrey.

Message Edited by Andrey Dmitriev on 02-13-2009 09:24 AM
Download All
Message 4 of 10
(6,365 Views)

Thank you Andrey!

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 10
(6,339 Views)

It is possible to do all this with booleans alone, but it won't be very pretty.

 

You could have three layers: (1) your red/white boolean indicators at the bottom layer, (2) your text in the middle layer, (3) and fully transparent boolean controls on top, each matched in size to the bottom layer.. Layer 3 operates the code and provides the tip-strips. The code ties it all together.

 

 

 

0 Kudos
Message 6 of 10
(6,327 Views)

altenbach wrote:

It is possible to do all this with booleans alone, but it won't be very pretty.

 

You could have three layers: (1) your red/white boolean indicators at the bottom layer, (2) your text in the middle layer, (3) and fully transparent boolean controls on top, each matched in size to the bottom layer.. Layer 3 operates the code and provides the tip-strips. The code ties it all together.

 

 

 


 

Cool we are playing the "Can you do this another way?" game!

 

How about replacing the boolean with a small piture control? Get a screen shot of the FP, pull out the part of teh image where the pciture (masquarading as a boolean) will be and shove into the pseudo-boolean picture. Using this approahc the picture displayed can be processed to fade from the boolean only look to the background.

 

Mouse Down can replace the mouse down from the boolean.

 

Any other approaches bouncing around in your head?

 

Ben

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 10
(6,325 Views)

Here's a very rough draft of the idea above (LabVIEW 8.5). Of course you should import custom graphics into the boolean indicators for the desired look.

 

Message Edited by altenbach on 02-13-2009 08:57 AM
Download All
0 Kudos
Message 8 of 10
(6,320 Views)

Ben wrote:
How about replacing the boolean with a small piture control? Get a screen shot of the FP, pull out the part of teh image where the pciture (masquarading as a boolean) will be and shove into the pseudo-boolean picture. Using this approahc the picture displayed can be processed to fade from the boolean only look to the background.

Since we only have two states, a boolean with imported custom graphics is probably simpler, code-wise. 😉

 

TRUE=red room picture, FALSE=transparent.

 

Most likely, a large fraction of the rooms have the same graphics, so things are re-useable.

0 Kudos
Message 9 of 10
(6,313 Views)
Thanks everyone.Thank you very much all for your replies. I will try.
0 Kudos
Message 10 of 10
(6,267 Views)