EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20252026  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  <20252026 
<== Date ==> <== Thread ==>

Subject: Disable alarm at IOC via PVAccess
From: David Bracey via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 19 Nov 2025 22:27:05 +0000

Is it possible to disable a PV’s alarm at the IOC, using PVAccess, on a “stock” IOC/PV?  (i.e. no custom code added)

 

I see that using channel access, one can disable the entire PV (via the DISV/DISA db fields) – however we are not using channel access.

 

Defining a simple DB record for a PV:

 

record(ai, "VAL1") {

    field(VAL, "1")

    field(SCAN, "1 second")

    field(HIHI, "2")

    field(LOLO, "0")

    field(HHSV, "MAJOR")

    field(LLSV, "MINOR")

}

One gets the following from pvxget:

 

VAL1

    value double = 1

    alarm.severity int32_t = 0

    alarm.status int32_t = 0

    alarm.message string = ""

    timeStamp.secondsPastEpoch int64_t = 1763589981

    timeStamp.nanoseconds int32_t = 529070863

    timeStamp.userTag int32_t = 0

    display.limitLow double = 0

    display.limitHigh double = 0

    display.description string = ""

    display.units string = ""

    display.precision int32_t = 0

    display.form.index int32_t = 0

    display.form.choices string[] = {7}["Default", "String", "Binary", "Decimal", "Hex", "Exponential", "Engineering"]

    control.limitLow double = 0

    control.limitHigh double = 0

    valueAlarm.lowAlarmLimit double = 0

    valueAlarm.lowWarningLimit double = nan

    valueAlarm.highWarningLimit double = nan

    valueAlarm.highAlarmLimit double = 2

 

From reading the docs, I gather that before the valueAlarm_t type, there used to be an alarmLimit_t type, which had an “enable” field – but currently I don’t see a way to do this besides possibly resetting the valueAlarm limits, and I don’t want to do that.

 

Can anyone recommend a way to disable the alarm at the IOC, given these coditions?

 

Thanks!

 

  • Dave Bracey, Fermilab AD

Replies:
Re: Disable alarm at IOC via PVAccess Pierrick Hanlet via Tech-talk

Navigate by Date:
Prev: Re: pvxs Access/list problem Heinz Junkes (FHI) via Tech-talk
Next: Re: Disable alarm at IOC via PVAccess Pierrick Hanlet 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  <20252026 
Navigate by Thread:
Prev: Re: Streaming from quadEM to HDF5 Mark Rivers via Tech-talk
Next: Re: Disable alarm at IOC via PVAccess Pierrick Hanlet 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  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·