# How to get value of tag

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-value-of-tag/64118>\
**Category:** Ignition\
**Created:** [September 15, 2022, 3:09pm UTC](https://forum.inductiveautomation.com/t/how-to-get-value-of-tag/64118 "2022-09-15T15:09:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mai\_Watanabe](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@Mai\_Watanabe](https://forum.inductiveautomation.com/u/Mai_Watanabe)\
**Post date:** [September 15, 2022, 3:09pm UTC](https://forum.inductiveautomation.com/t/how-to-get-value-of-tag/64118/1 "2022-09-15T15:09:17Z")

</div>

please teach me how to get value of tag.  
I want to know how to get the value of tag when writing to a script. When assigning the value of tag to the character x, x=tagpath, but an error occurred.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 15, 2022, 3:15pm UTC](https://forum.inductiveautomation.com/t/how-to-get-value-of-tag/64118/2 "2022-09-15T15:15:59Z")

</div>

You make a [readBlocking()](https://docs.inductiveautomation.com/display/DOC81/system.tag.readBlocking) call.

```auto
x = system.tag.readBlocking(['[someProviderName]path/to/tag'])[0].value

```

Notes:

- The call itself returns a **LIST** of **QualifiedValues**.
- The actual tag value is at the `.value` property of the QV.
- The actual value can be a Python **None** if the quality is bad.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [September 15, 2022, 3:27pm UTC](https://forum.inductiveautomation.com/t/how-to-get-value-of-tag/64118/3 "2022-09-15T15:27:58Z")

</div>

I highly recommend going through all the courses here [Browse the Lesson Library at Inductive University](https://inductiveuniversity.com/courses/ignition-overview/8.1)

though you can also just focus on the sections that are related to what you are doing, there is one focused on tags.
