# UDT transform by disable of members

**URL:** <https://forum.inductiveautomation.com/t/udt-transform-by-disable-of-members/46057>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [April 27, 2021, 6:09am UTC](https://forum.inductiveautomation.com/t/udt-transform-by-disable-of-members/46057 "2021-04-27T06:09:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurovskiy-a](https://avatars.discourse-cdn.com/v4/letter/g/eb8c5e/32.png) [@gurovskiy-a](https://forum.inductiveautomation.com/u/gurovskiy-a)\
**Post date:** [April 27, 2021, 6:09am UTC](https://forum.inductiveautomation.com/t/udt-transform-by-disable-of-members/46057/1 "2021-04-27T06:09:47Z")

</div>

Good day!

I am have a problem with enabling (disabling) a tags by changing the “.Enable” tag property.

Ignition 8.0.18, OS windows 10

There are several UDT tags that are part of another UDT tag. The outer UDT tag also contains a register (memory int) that determines which elements of the structure should be enabled and which ones should be disabled.

When the register is changed, a data change script occurs then copies data from the tag register (bits true/false) to the parameters of the outer UDT, the parameters (string variables) are used to bind “.enable” property of the internal UDTs tags.  
 ![Structure](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/f/4ff240e3626a9badf6c1d01fda85907f613a1dde.png)

**The problem is as follows**. Specific OPC Tag has the status enable, but the value is of Bad\_disbled quality.

 ![quality status](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/b/2b3d74d78e8ac79224572c331a3ec891840be4ed.png) ![tag property](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/80340a39b21d8ab43e0c3777e536d992ede4a3ba.png) ![tag qulaity](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/3/83f78c3ac831b214a1a77c24f27c27fdde47f6b1.png)

Could someone suggest this is a bug that has been fixed in a newer version, or it is bad solution of transform UDT?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 27, 2021, 8:53am UTC](https://forum.inductiveautomation.com/t/udt-transform-by-disable-of-members/46057/2 "2021-04-27T08:53:08Z")

</div>

What happens if you override the enabled property of that Value tag? Does the quality show the correct values?

---

<div class="post-metadata">

**Author:** ![gurovskiy-a](https://avatars.discourse-cdn.com/v4/letter/g/eb8c5e/32.png) [@gurovskiy-a](https://forum.inductiveautomation.com/u/gurovskiy-a)\
**Post date:** [April 27, 2021, 9:45am UTC](https://forum.inductiveautomation.com/t/udt-transform-by-disable-of-members/46057/3 "2021-04-27T09:45:54Z")

</div>

You are right! if i directly write values - all work fine.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 27, 2021, 10:07am UTC](https://forum.inductiveautomation.com/t/udt-transform-by-disable-of-members/46057/4 "2021-04-27T10:07:11Z")

</div>

@paul-griffith might be able to shed some light perhaps? Something to do with when these bindings are executed I assume, only once after saving the UDT is my guess. In which case you might need to do this in a change event script instead

Although using UDT parameters within opcitempath will update if you modify the param value by writing to it… I’m not sure now
