In UDT, i wanted to populate memory dataset tag with value of OPC tags. I am using scrip as shown in picture. It giving me error on system.dataset.setValue(), even though 1st arg is supposed to be dataset.
1 Like
"[.]../Dataset.value"
is just a literal string. If you want the value of the tag defined by that reference, you need to use system.tag.read
:
table = system.tag.read("[.]../Dataset").value
1 Like
Ohh, I totally forgot, thank you.
2 Likes