LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

color box change with sensor value

Solved!
Go to solution

how can i use a color box to display a sensor value..? i tried but it's just dark blue to light blue..

e.g if i have a distance sensor the colour box will change gradually from red to green(perhaps and yellow for the middle) for a value from 0 to 255.. 

Thanks 

0 Kudos
Message 1 of 6
(3,110 Views)
you can use an intesity chart
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 6
(3,103 Views)

 

what is intesity chart..? 

labview has nothing about intesity chart in help..

 

0 Kudos
Message 3 of 6
(3,094 Views)
Solution
Accepted by topic author karpa

Try this, just uses some simple interpolation.

 

 

0 Kudos
Message 4 of 6
(3,091 Views)
This one works too.
Tim
GHSP
0 Kudos
Message 5 of 6
(3,088 Views)

although both answers are what i want i liked Darin.K code because is smoother and more easy to edit..

Thanks! 

0 Kudos
Message 6 of 6
(3,083 Views)