ISISComputingGroup / IBEX

Top level repository for IBEX stories
4 stars 2 forks source link

Alarms: Refinements for use #8189

Closed KathrynBaker closed 2 months ago

KathrynBaker commented 6 months ago

As an instrument scientist using the north side muon front end systems I've noticed a few things that would help make things clearer in relation to the alarms, my use cases and behaviours are as follows:

Acceptance Criteria

Extra Information

How to Test

verbose instructions for reviewer to test changes (Add before making a PR)

Time in planning

20:25 4/4/24

FreddieAkeroyd commented 5 months ago

The following is from an email I sent:

When a configuration is changed this xml file is re-created from alarm records loaded from epics .db files, the xml file is then loaded into the mysql database on the instrument via the “alarmconfigtool” and then the alarm server and gui look at, and change, mysql directly (e.g. to record alarm acknowledge). So any changes to this xml file will not be preserved. Currently the only way to permanently control what PVs are in the alarm view would be to edit the .db files loaded by IOCs and add/remove the “info(alarm, …) ” entries in PV records, but any such db changes would be lost on an ibex update. To make the system more flexible we would need to change how we implement the alarm configuration. We could for example have very little, if anything, added by default, and then it would be up to a scientist to specify alarm setup for each PV/item on an OPI for components/configurations. But we would need to do some requirements gathering across instruments to determine what everybody needs and hence the best way to make the system behave for everybody. A simpler and quicker to implement solution, but which may not be flexible enough, is to just make whether an IOC (and some pre-defined sets of pvs) were present in the alarm view via an IOC macro (like specifying the COM port when adding an ioc). So this would let you chose if an IOC was there at all, but which PVs would be included would have been pre-determined by ibex. How much flexibility on choice of PVs to include verses just having an IOC included at all do you need? If a PV is added for everybody to the alarm view, unless high/low etc are also specified it would usually just sit there as saying it was OK (but may go into alarm if the device is disconnected)

isaachilly commented 2 months ago

Comments on issues

  1. TPG - Make a different PV (e.g., TPG300:PressureAlarm) that fans out to the limits of the pressure PVs a normal range or a very large range based on if the vacuum is good so as to not raise an alarm when vacuum is fine. What does a vacuum being good mean?
  2. Red major alarms not showing because current PV doesnt have info(alarm, "<name of IOC (not including _0X)>") in db records. Re limits the scientist is most likely setting a the wrong PV for the error to propagate. I.E, setting VOLT:LOLO when they should set VRAW:LOLO.
  3. SCHNNDR_01 - Similarly to the TPG. Make a different PV that sets the alarm config of the status PVs so that when the kicker is running double pulse mode (find appropriate PV)
KathrynBaker commented 2 months ago

Tickets seem appropriate and I have confirmed an email has been sent