How to insert multiple comparison values in Tag Group - Driven Mode

Is there a way to add multiple comparison values while defining Tag Groups with Driven state where my driven rate is executed when it matches multiple values.

For example, in my case I would like to execute a driven polling rate of 30s when machine state tag = 3,6,7 else it goes to rate of 1 sec but I am unable to add multiple values in 'Comparison Value' field and neither there is 'in' comparison operator to specify a list in 'Driving Comparison' field.

image

Does anyone have a solution to this?

Make a separate expression tag tthat expresses your complex condition, and use that as your driving tag.

1 Like

Would this work?

case(
  {[default]MyTag},
  3, 0,
  6, 0,
  7, 0,
  1
)
3 Likes

Hi @ Transistor, that worked. Thanks a lot!