I would like to get a count of all active alarms (both ack and non-ack) in tags in a particular folder called "FAB". I have one alarm that is set to true and it is flashing on the standard alarm table in my HMI so I know the alarming is working.
But the tag path filter seems to be broken or I am using it wrong as it always returns zero alarms unless I make the tagpath filter = "*".
Note, you should never call system.alarm.queryStatus from within a Vision client unless you want performance issues as this is a slow function and all scripts in Vision run in the gui thread so will lock up the interface. You didn't tag your post so not sure what you're using