# Linking a multistate display to 3 different tags

**URL:** <https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214>\
**Category:** Ignition\
**Created:** [July 11, 2015, 7:13pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214 "2015-07-11T19:13:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reksio](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/reksio/32/7669_2.png) [@Reksio](https://forum.inductiveautomation.com/u/Reksio)\
**Post date:** [July 11, 2015, 7:13pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214/1 "2015-07-11T19:13:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [July 11, 2015, 10:36pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214/2 "2015-07-11T22:36:50Z")

</div>

binEnum(toBoolean({[.]o\_Lt\_AMBER 1}),  
toboolean({[.]o\_Lt\_GREEN}),  
toboolean({[.]o\_Lt\_RED}))

---

<div class="post-metadata">

**Author:** ![Reksio](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/reksio/32/7669_2.png) [@Reksio](https://forum.inductiveautomation.com/u/Reksio)\
**Post date:** [July 13, 2015, 2:44pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214/3 "2015-07-13T14:44:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [July 13, 2015, 4:08pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214/4 "2015-07-13T16:08:40Z")

</div>

Sure, see here: [jython.org/jythonbook/en/1.0 … e-language](http://www.jython.org/jythonbook/en/1.0/#part-i-jython-basics-learning-the-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.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Dutton](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jonathan\_Dutton](https://forum.inductiveautomation.com/u/Jonathan_Dutton)\
**Post date:** [July 17, 2024, 2:53pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214/5 "2024-07-17T14:53:34Z")

</div>

@nmudge I am trying to implement this exact configuration in a Vision window. The system I am retrofitting uses individual tags for the HOA status. I need to use these individual bits to drive a single multi-state indicated. Please advise.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 17, 2024, 3:39pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214/6 "2024-07-17T15:39:30Z")

</div>

You've asked this on a nine year-old thread. You should probably start a new one and delete your post here (and I'll delete mine).

You'll also need to post your tag names and a truth table of what you want.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Dutton](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jonathan\_Dutton](https://forum.inductiveautomation.com/u/Jonathan_Dutton)\
**Post date:** [July 17, 2024, 4:19pm UTC](https://forum.inductiveautomation.com/t/linking-a-multistate-display-to-3-different-tags/10214/7 "2024-07-17T16:19:40Z")

</div>

Thank you for the advice. I actually ended up using the binEnum expression to drive the integer value of the object.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/4835a25cd3f14b429876642fb98fdd934e04ba3a.png)
