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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Getting severity string from a PV in recent versions of EPICS
From: "Sobhani, Bayan via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 30 Jun 2021 16:07:54 +0000

After upgrading EPICS, I started getting this message for some PVs:

 

missing record support entry table Record Support Routine (get_enum_str) Record Type ai PV XF:28ID1-CT{RG:B1}T-I.SEVR  dbGetField

 

It seems to be because I am converting an enum to a string in:

 

field(INPA, "$(Sys)$(Dev)T$(N_T)-I.SEVR")

field(FTA, "STRING")

 

This used to work in previous versions of EPICS, and in fact I can get the problem to go away if I read the PV over channel access, like: "$(Sys)$(Dev)T$(N_T)-I.SEVR CP”

 

So I am wondering: What is the recommended way to get the severity string from a PV in recent versions of EPICS?

 

Alex


Replies:
Re: Getting severity string from a PV in recent versions of EPICS Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: porting IOCs from Linux to RTEMS Siddons, David via Tech-talk
Next: Re: Getting severity string from a PV in recent versions of EPICS Johnson, Andrew N. 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: porting IOCs from Linux to RTEMS Siddons, David via Tech-talk
Next: Re: Getting severity string from a PV in recent versions of EPICS Johnson, Andrew N. 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  <20212022  2023  2024 
ANJ, 30 Jun 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·