I have setup my project so that it automatically logs in as read-only mode using
system.util.setConnectionMode(2)
In this state, when a user clicks on a button that writes a tag, Ignition displays it’s error message box.
I would like to, instead of the error message, display a custom form telling the use that they need to login before changes can be made.
Is there a way to intercept error messages, test for a “Gateway Comm Mode is not Read/Write” error, and display my form instead?
As there are a lot of places where tags are written this is not a feasible option.
I was hoping there was some sort of software hook that I could use instead.