I have an Igntion 8.1.2 application that I have been starting up. I have had an issue that has popped up and I cannot figure out how to troubleshoot it.
I created a boolean tag and then a button on a Vision screen to toggle the value. This worked fine. I then copied that button, changed the tagpath to another tag, and tested it in the designer. It works fine. However, there is one client where the second button will not write to the tag. The script follows:
curVal = system.tag.read(’[StormWaste]testStormwaterAlarm’)
newVal = 1 - curVal.value
if system.gui.confirm(u’This will send a test SMS Message. Are you sure?’, ‘Confirm SMS Test for Stormwater’):
system.tag.writeBlocking([’[StormWaste]testStormwaterAlarm’], [newVal])
No error are thrown on the client, but one works and the other does not. I might consider this a fluke but I had the same issue with other tags yesterday. In that case I was trying to write to the string tag and the original test field worked fine, but the second one would not write on this particular client. I have other clients that are working fine.
I cleared everything out of this clients’ .ignition and .openjfx folders to force a new download of the projects. Same problems.
Any troubleshooting advice to narrow down what might be wrong with this one client?