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

Subject: Re: IOC, QServ, and AMSG / alarm.message
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Ivan Finch - STFC UKRI <ivan.finch at stfc.ac.uk>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 13 Feb 2025 13:53:02 -0800
Hi Ivan,

On 2/13/25 08:21, Ivan Finch - STFC UKRI via Tech-talk wrote:
Hello,

We have setup a simple IOC with bi records triggered by forward links such as the following:

What you are trying to do should work.

Can you test with: https://urldefense.us/v3/__https://github.com/epics-base/pvxs/pull/100__;!!G_uCfscf7eWS!Z6EvnRv0uZpu2-5tpfa-eWbruUmdHDvYFuD2e3Hqz8btrWMPr7Mbd5da1kY-Kh2iqsPVIsllxL7xenGFhtxHi3Xfqg$  ?

...
We’ve investigated setting the AMSG and NAMSG fields in the record, but suspect that this is intended to be set programmatically?

The idea is for device support to change to recGblSetSevrMsg()
in places where recGblSetSevr() is used to signal an alarm.

int recGblSetSevrMsg(void *precord,
                     epicsEnum16 new_stat,
                     epicsEnum16 new_sevr,
                     const char *msg, ...)

So printf() format strings can be used, although there is a
limit of 40 characters (aka. DB_AMSG_SIZE).


Thank you in advance for any assistance you can provide,

Ivan Finch

ISIS Controls



Replies:
Re: IOC, QServ, and AMSG / alarm.message Aqeel Alshafei - STFC UKRI via Tech-talk
References:
IOC, QServ, and AMSG / alarm.message Ivan Finch - STFC UKRI via Tech-talk

Navigate by Date:
Prev: Re: Archiver Appliance - Limit on PVs Shankar, Murali via Tech-talk
Next: Re: IOC, QServ, and AMSG / alarm.message Aqeel Alshafei - STFC UKRI 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
Navigate by Thread:
Prev: IOC, QServ, and AMSG / alarm.message Ivan Finch - STFC UKRI via Tech-talk
Next: Re: IOC, QServ, and AMSG / alarm.message Aqeel Alshafei - STFC UKRI 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
ANJ, 14 Feb 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·