I am trying to create a ‘Tag Change’-type Gateway Event script that will acknowledge all alarms for all users if a bit in the PLC turns to a one. After the acknowledgment, it will turn the bit back to zero (which is easy). The application is that the alarms are also at an OIT in the system, and I want an ‘Acknowledge All’ there to also acknowledge the alarms in the Ignition SCADA.
I looked at the system.alarm.acknowledge function, but was not sure if I could use something like:
system.alarm.acknowledge("", None, "")
I have a feeling I may need to have additional scripting to retrieve the alarmIds and put them into a string array. I checked system.alarm.queryStatus, but my understanding of it is that it retrieves statuses instead of ids, and it puts them into a List instead of a string array.
Is there a hidden function in Ignition SCADA that acknowledges all alarms, or does it need to be done with the system.alarm.acknowledge function? If so, what would be the correct script to use? Thanks.