I don't know if the following behaviour is correct or not.
If I want to set a color, I can use a color box constant, a color box control, or a numeric value. Now if I calculate the value, it does not work.
Have a look at the attached vi. There are three different ways to set the color of a color box indicator and a portion of text in a text indicator:
1. A numeric (U32) control => this works
2. A color box control => this works
3. A calculated value: (U32)(RoundToNearest(Max(U32) * RandomValue)) => this does not work
Are there any explanations for this?
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------