# Reading UDT Parameter Value?

**URL:** <https://forum.inductiveautomation.com/t/reading-udt-parameter-value/11872>\
**Category:** Ignition\
**Created:** [June 27, 2016, 7:36pm UTC](https://forum.inductiveautomation.com/t/reading-udt-parameter-value/11872 "2016-06-27T19:36:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrbvo](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@jrbvo](https://forum.inductiveautomation.com/u/jrbvo)\
**Post date:** [June 27, 2016, 7:36pm UTC](https://forum.inductiveautomation.com/t/reading-udt-parameter-value/11872/1 "2016-06-27T19:36:41Z")

</div>

Hi All,

Is there any ways to read a UDT Parameter value (for example I have a parameter called alarmDescription on UDT tank\_anomaly). I need to be able to read this value into a script.

Doing a UDT Binding on a window does not show the parameter values. Or is there a way to read parameter values from the binding?

Thank you!

---

<div class="post-metadata">

**Author:** ![JGJohnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgjohnson/32/29582_2.png) [@JGJohnson](https://forum.inductiveautomation.com/u/JGJohnson)\
**Post date:** [June 28, 2016, 1:15pm UTC](https://forum.inductiveautomation.com/t/reading-udt-parameter-value/11872/2 "2016-06-28T13:15:53Z")

</div>

You will need to read and parse the UDT instance’s extended properties.

```auto
# The name of the parameter to be read
paramName = "MyUDTParam"

path = "%s.ExtendedProperties" % myUDTInstanceFullPath
props = system.tag.read(path)
if props.value is not None:
		for prop in props.value:
			if prop.getProperty().name.lower() == paramName.lower():
				print prop.value
				break

```

---

<div class="post-metadata">

**Author:** ![coster](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@coster](https://forum.inductiveautomation.com/u/coster)\
**Post date:** [October 9, 2020, 2:41pm UTC](https://forum.inductiveautomation.com/t/reading-udt-parameter-value/11872/3 "2020-10-09T14:41:33Z")

</div>

In the JGJohnson example,  
Change “%s.ExtendedProperties” by “%s.Parameters”  
and it work
