Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

State Based Formatting with 2 Dependent Parameters?

kdonald
1-Visitor

State Based Formatting with 2 Dependent Parameters?

I am using state based formatting i.e.

if      X<40               state = low

if      X<80               state = medium

if      X<100             state = high


Though I'd like to add an additional condition, such as...

if      Y = true          state = unavailable



Is it possible to do this with scripting?





The end goal:

I have a gauge that displays as red orange or green (depending on variable X), as shown below. However, if the "isConnected" variable (i.e. variable Y) switches to false, I would like the gauge to display a different colour, such as grey, for example.


Thanks!


ACCEPTED SOLUTION

Accepted Solutions

You can put two gauges on over the other, and show/hide one or the other depending on Y

View solution in original post

2 REPLIES 2

You can put two gauges on over the other, and show/hide one or the other depending on Y

Thanks, this works.

Announcements


Top Tags