Linking a multistate dispaly to 3 different tags

Hi,
I would like to be able to display 4 different colors in a Multi-state indicator, but linking them to 3 different tags. State 0 being inactive and state 1,2,3 just displaying a different color when each of these tags changes its Boolean value to 1. Any ideas?
I tried generating a dummy tag and scripting Expression something like that, but cant get it to work…

&&{[.]o_Lt_AMBER 1}=1
&&{[.]o_Lt_GREEN}=2
&&{[.]o_Lt_RED}=3

Any help will be highly appreciated.

Cheers.

binEnum(toBoolean({[.]o_Lt_AMBER 1}),
toboolean({[.]o_Lt_GREEN}),
toboolean({[.]o_Lt_RED}))

Working with enumerators…Thank you. By the way is there a good manual describing the scripting language within the Induction software? The Induction manual is pretty skimpy in that area.

Sure, see here: jython.org/jythonbook/en/1.0 … e-language

Oh, do you mean the expression language? There is not much to learn about it. It is expressions with functions and data types and bindings and some syntax. The Ignition user manual covers it.