It seems I can't get de readAsync function working. I tried the following script in script console:
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.