Hi All,
I'm trying to create a log of alarm instances over a period of time so I can see which alarms trigger the most.
I have an array critical_alarms[20] of type DINT. Say alarm critical_alarms[5].28 triggers I want to add a 1 to its tally. I want to store this tally in another array.
Does anyone know the best way to implement this or maybe another way to go about it?
I'm trying to create a log of alarm instances over a period of time so I can see which alarms trigger the most.
I have an array critical_alarms[20] of type DINT. Say alarm critical_alarms[5].28 triggers I want to add a 1 to its tally. I want to store this tally in another array.
Does anyone know the best way to implement this or maybe another way to go about it?
Last edited: