Script write to tag error

system.tag.writeBlocking and system.opc.writeValues both return list of qualities indicating the write results. It’s up to you to check these results wherever you make the scripting call.

A bad write result does not generate some kind of other event for you to catch in an event script.

1 Like

So when written from a pushbutton binding, there are no ‘returns’, since it was not done from a scripted .write*

If it’s truly a binding the error should bubble up into the UI, I think. But yeah in that case you wouldn’t have a script to do anything with the result.