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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Add new Alarm Status
From: "Schoeneburg, Bernd" <[email protected]>
To: [email protected]
Date: Wed, 05 Oct 2011 08:51:50 +0200
It is solved!!!  I forgot to load the new dbd file into the IOC.
Thank you for thinking...... There is still something to do for the clients, like probe....

Bernd

Am 04.10.2011 15:18, schrieb Schoeneburg, Bernd:
Hi all,
I am using base R3.14.11

After adding some new alarm status to the files base/src/sbStatic/alarm.h , alarmString.h and base/db/menuAlarmStat.dbd I did "make clean" to everything and rebuild the whole base. After that base/dbd contained the new menu and base/include contained all new header files.
I did move lastEpicsAlarmCond and ALARM_NSTATUS to the new last alarms.
Then I cleaned and compiled the ioc application with my base in configure/RELEASE.

So everything looks ok, but when my record sets such new alarm and a client, which wants the string tries to read it, I get an error on my IOC:

Illegal choice PV: 22PC503_pid.STAT error detected in routine: dbFastLinkConv(cvt_menu_st)

Printing the reasons for this message shows:

pdbFldDes=0xd9fc5bc pdbMenu=0xd920978 nchoice=22 papChoiceValue=0xfb0cc9c pchoice=0xfb0cca4

...shows that the number of choices of the status menu is still 22. But it should be 25 now, because I added 3 new status.

Is there still something hard coded or did I miss something?

Bernd

References:
Add new Alarm Status Schoeneburg, Bernd

Navigate by Date:
Prev: RE: asynUInt32Digital write callback function not called PELLE Sébastien
Next: Re: Sequence monitor not getting callback Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Add new Alarm Status Schoeneburg, Bernd
Next: asynUInt32Digital write callback function not called PELLE Sébastien
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·