# system.tag.readAsync

**URL:** <https://forum.inductiveautomation.com/t/system-tag-readasync/105812>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [May 2, 2025, 6:44am UTC](https://forum.inductiveautomation.com/t/system-tag-readasync/105812 "2025-05-02T06:44:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henk](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Henk](https://forum.inductiveautomation.com/u/Henk)\
**Post date:** [May 2, 2025, 6:44am UTC](https://forum.inductiveautomation.com/t/system-tag-readasync/105812/1 "2025-05-02T06:44:34Z")

</div>

It seems I can't get de readAsync function working. I tried the following script in script console:

```python
def func(values): print( [qv.value for qv in values] )

taglist=['[System]Gateway/UptimeSeconds']
print('a')
func( system.tag.readBlocking(taglist) )
print('b')
system.tag.readAsync(taglist, func)
print('c')

```

the output of this script is:

**a**  
**[627009L]**  
**b**  
**c**

What am I doing wrong? I thought I should get a long value between 'b' and 'c' too.  
Please point me in the right direction.

---

<div class="post-metadata">

**Author:** ![Henk](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Henk](https://forum.inductiveautomation.com/u/Henk)\
**Post date:** [May 2, 2025, 8:01am UTC](https://forum.inductiveautomation.com/t/system-tag-readasync/105812/2 "2025-05-02T08:01:09Z")

</div>

Answer to my own question:  
Print functions in the callback function of system.tag.readAsync display information in de output console of the designer NOT in the script console.  
The script is working I only looked at the wrong place voor the output.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [May 2, 2025, 1:04pm UTC](https://forum.inductiveautomation.com/t/system-tag-readasync/105812/3 "2025-05-02T13:04:39Z")

</div>

For reference:

> [@Event Configuration Print Out to debug](https://forum.inductiveautomation.com/t/event-configuration-print-out-to-debug/60091/5):
>
> It's complicated slight_smile Starting from most local to least... In the script console, print will log directly to the output buffer on the right hand side. system.util.getLogger() will log to the named 'Output Console' Designer window. Bonus: A script invoked from here using system.util.invokeAsync will print to the regular output console, not the buffer on the right hand side. Anywhere else in the designer (except Perspective), print and system.util.getLogger will log to the 'Outpu…
