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  <20152016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
<== Date ==> <== Thread ==>

Subject: Re: What happened to "dbNameOfPV" in EPICS 3.15.1 : Need this for caPutLog
From: Benjamin Franksen <benjamin.franksen@helmholtz-berlin.de>
To: <tech-talk@aps.anl.gov>
Date: Mon, 12 Jan 2015 10:33:42 +0100
On Monday 22 December 2014 11:13:25 Andrew Johnson wrote:
> On 12/19/2014 08:39 PM, Williams Jr., Ernest L. wrote:
> > What happened to  "dbNameOfPV" ?
> >
> > In EPICS 3.14.x  ===>  $(BASE_TOP)/include/dbAddr.h
> >
> > "dbNameOfPV" is no longer in 3.15 ?
>
> Yup, it got removed because it doesn't include any field modifiers
> that might have been used with the PV name, and because we changed
> the internals slightly, so you will have to modify the caPutLog code
> to match anyway.

Hi Andrew,

Ralph pointed me from core-talk to this thread (I have a bit of a
problem to catch up on tech-talk, especially after holidays, which is
why I wasn't aware of it yet).

> > dbNameOfPV is used by caPutLog
>
> In 3.15 the void * asTrapWriteMessage.serverSpecific pointer that gets
> passed to the listeners is no longer a dbAddr*, it's now a dbChannel*
> so to get the PV name all RSRV asTrapWriteListeners must call
>     dbChannelName((dbChannel *) msg.serverSpecific)
> instead, which returns a const char* holding the channel's full PV
> name.

Ok, that looks easy.

> I just updated the 3.15.1 AppDevGuide to correct this in the Access
> Security chapter, although we haven't actually documented the
> dbChannel API there yet (see dbChannel.h and post questions here
> until that gets written, sorry).

I think for caPutLog this should be all I need for the moment.

Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


Navigate by Date:
Prev: exit puzzle about SNL's example Silver
Next: Accessing RPC result by CSS Andreas Frei
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
Navigate by Thread:
Prev: Re: Re: exit puzzle about SNL's example Silver
Next: Accessing RPC result by CSS Andreas Frei
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·