# Indirect Alarm Labels

**URL:** <https://forum.inductiveautomation.com/t/indirect-alarm-labels/28292>\
**Category:** Ignition\
**Created:** [September 16, 2019, 6:11pm UTC](https://forum.inductiveautomation.com/t/indirect-alarm-labels/28292 "2019-09-16T18:11:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAnderson](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JAnderson](https://forum.inductiveautomation.com/u/JAnderson)\
**Post date:** [September 16, 2019, 6:11pm UTC](https://forum.inductiveautomation.com/t/indirect-alarm-labels/28292/1 "2019-09-16T18:11:26Z")

</div>

New to Ignition here, and am trying to duplicate something that we do with ME pretty often. We create an Alarm BOOL tag in the PLC, and display the associated string on our HMI for Alarm message. It also has a delay timer that can be adjusted if a debounce is required. It’s simple and works for most everything that we do.

PLC Code Snip:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c9a3bfbb2b724d0c18681f449c5820d29aaf12c7.png)

HMI Config Snip:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4a1bf6ac20bb46d306ddf3cf8fb243f774436806.png)

So I created the ALM UDT in Ignition, I also created a parameter called (ALM\_Num):

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b85e9e9e83d0b18e80c0b80501dd608517c20cb9.png)

Then I configured an alarm to Bool.

I am trying to create a dynamic Label for each. I would like to display the Message string of each instance.  
I’ve tried ` {[~]ALM/ALM1/Message.value} ` for ALM 1 and that works, and ties it to every alarm.

When I try ` {[~]ALM/ALM{ALM_Num}/Message.value} ` it seems to break on the “}” after Num.

Is it a syntax that I am doing wrong? Or am I going about this wrong?

Any advice would be appreciated.

**Ignition Platform** `8.0.3

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [September 16, 2019, 6:29pm UTC](https://forum.inductiveautomation.com/t/indirect-alarm-labels/28292/2 "2019-09-16T18:29:00Z")

</div>

`{[.]Message}`  
Should be all you need if each Tag created with the UDT is unique.  
No need for indirection.

---

<div class="post-metadata">

**Author:** ![JAnderson](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JAnderson](https://forum.inductiveautomation.com/u/JAnderson)\
**Post date:** [September 16, 2019, 6:39pm UTC](https://forum.inductiveautomation.com/t/indirect-alarm-labels/28292/3 "2019-09-16T18:39:24Z")

</div>

Thanks, that works as expected.

So the ` [.] ` refers to the UDT it’s in? That’s nice. I don’t recall seeing that in the University as I have been going through it. I’ll have to keep going, Haha.

Thanks!

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [September 16, 2019, 7:18pm UTC](https://forum.inductiveautomation.com/t/indirect-alarm-labels/28292/4 "2019-09-16T19:18:47Z")

</div>

Yes it does, also you can use the smart link buttons in the UDT editor.  
They are on the right hand side when you are in the expression portion.
