LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling Slider Fill Colors

Hi,

I'm trying to use a slide as an indicator for representing a difference of two values. This delta basically gives the difference in centroids of two laser beams, which in turn can be used for alligning the two beams. The delta needs to be within a specific limit (+/-). I'm trying to make the entire slide-fill color turn red if the indicated delta is above the limit and green when its within the allowed limit.

Eg:Say the scale limits are -10...0....+10. Allowed delta is 2.5, the entire color-fill should turn red if the slider is outside (-2.5....0....+2.5) and green vice-versa.

Any advice is welcome.

Thanks
Ashok
0 Kudos
Message 1 of 3
(2,398 Views)
You've got Fill Options set to No Fill so you don't see a color change. Try setting the Housing Colors property instead.
Message 2 of 3
(2,389 Views)
Thanks Dennis, that worked.
0 Kudos
Message 3 of 3
(2,383 Views)