> How we can generate different shades of single color
> From dark to light .using a control like dial
> If dial pointing on zero we get darkest shad ,
> If dial is pointing to maximum we should get lightest shad
> I want to assign this shad to the color property of LED.
There are many ways to do color interpolation. The quick way is to do
it in the RGB colorspace. If You might try using the hilite color.vi
located in the picture control palette. It takes a given color and
returns the colors mixed with white and black. If you want a smooth
ramp, it would be more efficient to determine the first color and last
and you can linearly interpolate between the R, G, and B coordinates
independently. Another way is to start at your color and linearly mo
ve
to white by linearly interpolating the R, G, and B values independently.
Then do the same towards black.
If I'm misunderstanding your question, please post more details.
Greg McKaskle