I am wanting to get a tags value and increment it by 1. This is what I have. It is going in to a table.
I don’t believe it is reading the tag value
if submitSuccess ==1:
oldData=system.tag.read("[default]Moblie/AuditsCompleted")
newData=system.dataset.setValue(data,insertrow,"AuditNbr", oldData + 1)
data=newData
event.source.parent.getComponent('Table').data=data