LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change background color of indicator

Hi,
i want to find out how to change the background color of an indicator? i tried to change its background color from default grey to black using the tools, colours. But, it still remains grey whether i open in new vi or existing ones. What have i missed?
0 Kudos
Message 1 of 12
(7,158 Views)
Hi Adeline.
Basically, there are 3 ways of change background color:
1. Using the color tool to paint bck color an saving the vi. That color will remain for that vi and that indicator.

2. Doing it programmatically, when starting the vi, using property node ( text colors, background color)

3 Editing the indicator, ( select indicator and go to menu edit>customize control)changing bk color using the color tool and saving indicator in your personal controls and indicators. Later on, load it as whit any indicators.

Hope it helps.

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Message 2 of 12
(7,152 Views)
Can you programmatically change the background color of say a string indicator that it in a cluster?  I have a cluster of 4 strings and a ring indicator and would like to change the color of one of the string indicators when a certain event happens.
0 Kudos
Message 3 of 12
(7,002 Views)

Here's a way to change the backround color of a string in a cluster. The cluster has two strings the switch will set the BG color of the string labled Ch. The True case changes the BG color to Black, the False case sets the BG color to White.

Message Edited by AndrewAlford on 02-03-2006 08:42 AM

Message Edited by AndrewAlford on 02-03-2006 08:42 AM

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
Download All
Message 4 of 12
(7,000 Views)
OK, I need to throw one more wrench into it.  It is actually an array of clusters...
 
Also, what does the for loop do in your example?
0 Kudos
Message 5 of 12
(6,985 Views)

OK, Andrew was faster on the first Q, but I was prepared for the second 😄

The loop is required to search through all the controls in the cluster.

Chilly Charly    (aka CC)
0 Kudos
Message 6 of 12
(6,978 Views)
OK, that makes sense on the loop, but I can't open your example as my work hasn't upgraded me to 8.0 yet...
0 Kudos
Message 7 of 12
(6,976 Views)

Not yet with LV 8 ? 😠 😄

 

Chilly Charly    (aka CC)
Message 8 of 12
(6,970 Views)
Not yet..Smiley Sad
0 Kudos
Message 9 of 12
(6,963 Views)
Thanks for all your help!  It works...
0 Kudos
Message 10 of 12
(6,953 Views)