Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello amigos,
I'm a noob in Thingworxs and Im trying to color a grid cell (variable value) using as reference his setpoint.
Does anyone know how to do it? Formatting just allows numbers, or Is it possible pass a variable name as value?
Thank you in advance masters!
Solved! Go to Solution.
Limits for numeric states are only literal values when you create them using the state definitions ui. You can try the following alternatives:
Hi @AZ_10002866 ,
As per my understanding you are planning to colour only a single grid cell i.e. reference point.
Regards
Bhawna
Yes, example, Speed(random variable) should colored base on < 50 green (SpeedSetPoint), < 75 yellow (SpeedSetPoint * 1.5), the rest should be red.
The control limits should take the variable SetPoint instead direct number, in order to, when the SetPoint changes the color boundaries change too.
Hi @AZ_10002866 ,
You can do that by doing state formatting. In that different styles can be applied on the basis of given conditions.
Attaching the reference document for further clarification.
Regards
Bhawna
Limits for numeric states are only literal values when you create them using the state definitions ui. You can try the following alternatives: