What is the simplest way to obtain a list of all supressed alarms that would be active?
By active I mean it would annunciate if supression was removed, e.g. for a HI_ALM, the PV > HI_LIM.
I can get a list of supressed alarms by saving an xml export of the alarm banner. It is the last criteria that is causing me issues.
In reply to Matt Stoner:
Andre Dicaire
In reply to Andre Dicaire:
In reply to Jason.Brumfield:
Create a module that calculates time till shift end. Then this is an exercise in VBA on your detail display that should link to a single “master” script to do your task that you create in user defined. Create a custom combo box on every detail display that when selected grabs the current time remain till end of shift out of your module Then with a custom “set” button for suppressing the alarm set the time out on the alarm to the shift time remain clock by passing the time and the alarm parameters up to your master script
you can write to the time out parameters online, there is some formatting to figure out in script but nothing very difficult. If you use a master script it’s really just a quick update to all detail displays to copy your combo box and set buttons around for each alarm. You pass the alarm tag and the time up to your master script, and good to go. Makes it so no alarm can ever be suppressed longer than the time remaining for the shift. Most of things you actually want out of the system for CRO always require a ton of scripting unfortunately, but it’s the way it is. Use a single script in the user defined so that you actually only have one piece of code to maintain. Going to be some new challenges in Live replacing all the custom “tools” you create in VBA with the type script so keep that in mind, as nothing is impossible but it will take some new thinking when you convert. Cause once the CRO has had a function it will be next to impossible to convince them the “new” graphics can’t do that
You can also have the OOS actuated through here but have this linked to use based on privlages of user. So that only certain people can set an alarm oos. Also if you want the CRO’s to only use this function for shelving alarms you have to make sure the right click “suppress” is removed from every alarm summary including in faceplates.
leave yourself a hidden summary though so DCS techs can work from a summary for suppression still if needed.