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  <20102011  2012  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: dbGetSevr on epics 3.14.11
From: "Allison, Stephanie" <[email protected]>
To: Ralph Lange <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 26 Aug 2010 08:46:22 -0700
Hi Ralph,

Thank you.  I should've checked the latest branch first to see the fix.

BTW - the 3.14.11 app dev guide doesn't mention the new routine dbGetAlarm which we could be using instead of dbGetSevr.  I think the app dev guide is being re-written so perhaps it will be in a form that I can edit (?) for things like this.

I also got tripped up by the changes to the breakpoint tables (I now have to load my tables separately in my st.cmd instead of including them in my app's dbd since they are not monotonic (argh!)) and the little kluge about dbBptNotMonotonic is not documented in the app dev guide though it is in the release notes.  I use breakpoint tables for things where I just want to interpolate and the breakpoint tables/routines are a nice API for that.

Thanks,
Stephanie

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Ralph Lange
> Sent: Thursday, August 26, 2010 8:23 AM
> To: [email protected]
> Subject: Re: dbGetSevr on epics 3.14.11
> 
>   Hi Stephanie,
> 
> thanks for reporting this issue!
> 
> The bug was introduced by (me) merging in Codeathon 2009 work (revision 11653, 3 Apr
> 2009), so it only affects 3.14.11, no earlier versions.
> It has been fixed on the 3.14 branch (revision 12087, 19 Jul 2010).
> I created a patch file (attached), and pushed this patch to the 3.14.11+patches branch on
> Launchpad.
> 
> @Andrew: Could you add the issue and the patch file to the Known Problems page for
> 3.14.11, please? I don't know if or how I could do web site changes remotely.
> 
> Thanks again,
> Ralph
> 
> 
> On 25.08.2010 21:41, Allison, Stephanie wrote:
> > Hello,
> >
> > I'm upgrading from 3.14.8.2 to 3.14.11 and found a problem with dbGetSevr.  dbGetSevr
> used to be a prototype in 3.14.8.2 and is now a macro in dbAccessDefs.h:
> >
> > #define dbGetSevr(PLINK,PSEVERITY) \
> >      dbGetAlarm((PLINK),NULL,(PSEVERITY));
> >
> > That ";" at the end causes problems (ie:   if (dbGetSevr(plink,&severity)) break;)
> > and should be removed.
> >
> > Thank you,
> > Stephanie Allison
> >


Replies:
Re: dbGetSevr on epics 3.14.11 Ralph Lange
References:
dbGetSevr on epics 3.14.11 Allison, Stephanie
Re: dbGetSevr on epics 3.14.11 Ralph Lange

Navigate by Date:
Prev: RE: derived works Jeff Hill
Next: RE: derived works Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: dbGetSevr on epics 3.14.11 Ralph Lange
Next: Re: dbGetSevr on epics 3.14.11 Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·