# Expresion tags are stuck and not updating

**URL:** <https://forum.inductiveautomation.com/t/expresion-tags-are-stuck-and-not-updating/114800>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [March 31, 2026, 2:51pm UTC](https://forum.inductiveautomation.com/t/expresion-tags-are-stuck-and-not-updating/114800 "2026-03-31T14:51:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mandar\_ganoo](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mandar\_ganoo](https://forum.inductiveautomation.com/u/mandar_ganoo)\
**Post date:** [March 31, 2026, 2:51pm UTC](https://forum.inductiveautomation.com/t/expresion-tags-are-stuck-and-not-updating/114800/1 "2026-03-31T14:51:32Z")

</div>

Ignition version: **8.1.42**

The **Tag Group** is configured with a **10-second scan rate** and the mode is set to **Direct**.

We created a **UDT** to scale the raw value and generate alarms.

- **AiRaw** is a memory tag that stores the raw value. This value is updated from another OPC tag through an event script.

- **AiScld** is an expression tag that is expected to continuously scale the raw value from **AiRaw** using the expression below.

- **ControlSP** , **AlmHiSp** , **AlmLoSp** , **AlmHiDb** , and **AlmLoDb** are memory tags whose values are entered by the operator from the Vision Client.

At present, both **RangeMax** and **RawMax** are set to **1,000,000** , while both **RangeMin** and **RawMin** are set to **0**. Therefore, based on the following expression, the scaled value should be the same as the raw value:

```python
(({[.]AiRaw} - {[.]RawMin}) / ({[.]RawMax} - {[.]RawMin})) * (({[.]RangeMax}) - ({[.]RangeMin})) + ({[.]RangeMin})

```

According to the end user, the UDT instances were working properly until few days back, after which they stopped working.

We tried to trigger / check the value by changing the Execution Mode from "Event Driven" to "Fixed Rate" or "Tag Group", but this did not resolve the issue.

When we restarted the Gateway PC, the tags started working again. However, the actual reason why they stopped working is still unknown.  
Question is why expression tags stopped working?

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

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [March 31, 2026, 3:23pm UTC](https://forum.inductiveautomation.com/t/expresion-tags-are-stuck-and-not-updating/114800/2 "2026-03-31T15:23:16Z")

</div>

Any errors in your gateway log? What are the scripts on `AiRaw`, `AiScld` and `GatewayTime` doing? Was it just that tag that failed to update or were additional tags not updating values?

---

<div class="post-metadata">

**Author:** ![mandar\_ganoo](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mandar\_ganoo](https://forum.inductiveautomation.com/u/mandar_ganoo)\
**Post date:** [March 31, 2026, 3:32pm UTC](https://forum.inductiveautomation.com/t/expresion-tags-are-stuck-and-not-updating/114800/3 "2026-03-31T15:32:27Z")

</div>

No errors on gateway status\log.  
`AiRaw`, `AiScld` and `GatewayTime `

these tags has event script to check the max scaled value. Script on the AiRaw has been disabled.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [March 31, 2026, 4:02pm UTC](https://forum.inductiveautomation.com/t/expresion-tags-are-stuck-and-not-updating/114800/4 "2026-03-31T16:02:10Z")

</div>

I am not sure why the tag stopped updating, but I do have to wonder why all of this work is being done in Ignition rather than in the PLC.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 31, 2026, 4:09pm UTC](https://forum.inductiveautomation.com/t/expresion-tags-are-stuck-and-not-updating/114800/5 "2026-03-31T16:09:24Z")

</div>

It's going to be basically impossible to troubleshoot this after the fact.

If you're ever in a situation where things are "stuck", the thing to get is a **thread dump**. Without that snapshot of what the gateway is doing at that moment in time, you're significantly handicapped.

From past experience, look out for:

1. `runScript` expressions in tags
2. Tag event scripts

Either of which could be running operations with indefinite time bounds if you're not careful.
