02-13-2009 12:22 AM
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..
02-13-2009 12:45 AM
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?
02-13-2009 01:09 AM
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!!!!
02-13-2009 02:23 AM - edited 02-13-2009 02:24 AM
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.
02-13-2009 06:04 AM
Thank you Andrey!
Ben
02-13-2009 10:32 AM
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.
02-13-2009 10:39 AM
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
02-13-2009 10:56 AM - edited 02-13-2009 10:57 AM
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.

02-13-2009 11:00 AM
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.
02-15-2009 07:39 PM