Actually, if the prior alarm values are in the database (or the
startup file) you only have to set those back to what you know. We
sometimes have instruments that run a bit warmer than their default
(for whatever reasons) and you can set higher alarm thresholds from
the command line, or if you don't have direct access with cau or
probe. I wouldn't normally put them into the user interface in a
writable way though.
Maren (now more or less retired from the EAO)
On Fri, Nov 21, 2025 at 6:00 AM Hartman, Steven via Tech-talk
<[email protected]> wrote:
>
>
> To re-enable alarms, you would have needed to have remembered the prior value to restore it
>
>
>
> . . . which would not be very practical. A more manageable approach would be to add some database logic on top to handle bypassing alarms instead. For example, a calc record and’ing the I/O record’s state with an alarm enable bo record, and using that result in your alarm handler rather than the I/O record itself. You can build on this to handle cases where you only want certain alarms in certain machine configurations, or where some equipment may be offline on purpose, and it also allows you to combine multiple inputs into a summary status alarm.
>
> --
> Steven Hartman
> [email protected]
>
- References:
- Disable alarm at IOC via PVAccess David Bracey via Tech-talk
- Re: Disable alarm at IOC via PVAccess Pierrick Hanlet via Tech-talk
- Re: Disable alarm at IOC via PVAccess David Bracey via Tech-talk
- Re: Disable alarm at IOC via PVAccess Kasemir, Kay via Tech-talk
- Re: Disable alarm at IOC via PVAccess David Bracey via Tech-talk
- Re: Disable alarm at IOC via PVAccess Kasemir, Kay via Tech-talk
- Re: [EXTERNAL] Disable alarm at IOC via PVAccess Hartman, Steven via Tech-talk
- Navigate by Date:
- Prev:
Re: Disable alarm at IOC via PVAccess David Bracey via Tech-talk
- Next:
Manta G-235B Camera Steven Hunt via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
<2025>
2026
- Navigate by Thread:
- Prev:
Re: [EXTERNAL] Disable alarm at IOC via PVAccess Ralph Lange via Tech-talk
- Next:
Re: Disable alarm at IOC via PVAccess David Bracey via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
<2025>
2026
|