ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

front panel attributes

Is there anyway to get an attribute node for the background color of the front
panel?
0 Kudos
Message 1 of 5
(3,941 Views)
If I'm not wrong, there's no way of changing background
color programatically, you can use a little trick, put a
large flat boolean covering all the background and change
its color using an attribute node.
Hope this helps

Gorka Larrea
glarrea_1@hotmail.com


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
0 Kudos
Message 2 of 5
(3,941 Views)
prussian_blue@yahoo.com (russ) wrote in <39654ebb@newsgroups.ni.com>:

>
>Is there anyway to get an attribute node for the background color of the
>front panel?
>

No. You can use either a boolean button and set it's colours, or a colour
box as an indicator an wire the colour to it directly.

This is a FAQ answered in The LabVIEW FAQ accessed from the link at:

http://www.icon-tech.com.au


--

Alexander C. Le Dain, PhD
ICON Technologies Pty Ltd
http://www.icon-tech.com.au
0 Kudos
Message 3 of 5
(3,941 Views)
Yes,
Open a VI reference and then create a front panel property node. Next create another property node from the front panel property node, (Create>> Property>> Color). Wire the output from the front panel property node into the Color property node and connnect a color pallette to the input color.

When you feed a path into the Open VI Reference the front panel color will change according to the color pallette selection.
Message 4 of 5
(3,941 Views)
Attached example program
Message 5 of 5
(3,941 Views)