Write a value to a dataset tag

One clarification: system.dataset.setValue() returns a new dataset that you must write back to the tag. Like so:

ds = system.tag.read("tagdata").value
system.tag.write("tagdata", system.dataset.setValue(ds, row, col, newVal))
3 Likes