I have an interesting problem. I have a UDT instance with some alarm tags configured. After the instance was created, I modified those alarm tags in the UDT definition; but the alarm status table is still showing the old alarms along with the new ones. Is there a way to "reset" or clear active alarms from the gateway to get rid of the alarms that don't exist anymore?
All alarms are captured here:
However, the "ACT" Alarm is still showing in my status table even though it no longer exists.
I tried deleting the instance and recreating it (same name). I restarted the gateway, I restarted the computer, I deleted the Alarm Journal, I "Restarted Tag" on the UDT. Any other ideas?
In memory, with backup written at some interval to a sqlite3 file. That file is only read on startup to re-establish active alarms. Shutting down, deleting that file, and restarting is the answer to your question, BTW. (I don't recall the filename. Somewhere on this forum.)
I've never tried to find an SDK interface to the in-memory instances--not sure there is one.
I believe the file is called .alarms and it’s in the data folder of the install directory. Stopping the gateway and deleting that file should get rid of this stuck alarm.