In Navigation bar there is an Alarm counting with below scripting code
runScript("system.alert.queryAlertStatus(" +
"activeAndAcked=" + toInt({Root Container.Alarms.activeAndAcked}) + "," +
"activeAndUnacked=" + toInt({Root Container.Alarms.activeAndUnacked}) + "," +
"clearAndAcked=" + toInt({Root Container.Alarms.clearAndAcked}) + "," +
"clearAndUnacked=" + toInt({Root Container.Alarms.clearAndUnacked}) +
").rowCount", 1000)
i need to filter the alarms from specified FolderA/*. Means i need to count only alarms which in certain folder not all of alarms in the alarmTable.Please advise
Ok here it the expression:runScript("system.alert.queryAlertStatus(" +
"activeAndAcked=" + toInt({Root Container.Alarms.activeAndAcked}) + "," +
"activeAndUnacked=" + toInt({Root Container.Alarms.activeAndUnacked}) + "," +
"clearAndAcked=" + toInt({Root Container.Alarms.clearAndAcked}) + "," +
"clearAndUnacked=" + toInt({Root Container.Alarms.clearAndUnacked}) + "," +
"path='FolderA/*'" +
").rowCount", 1000)
I just added a path to the system.alert.queryAlertStatus. See the documentation for the function.
Thanks Travis.
it is working fine. our project also start now we connected 4 Plant through GPRS & 3G to Ignition . Total TAGS now 461 Tags .Performance is good.
Thanks for all ignition Team.
Tamer