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

Subject: Re: What happened to "dbNameOfPV" in EPICS 3.15.1 : Need this for caPutLog
From: Andrew Johnson <[email protected]>
To: <[email protected]>, "Ernest L. Williams Jr." <[email protected]>
Date: Mon, 22 Dec 2014 11:13:25 -0600
Hi Ernest,

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.

> 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.

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).

- Andrew
-- 
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling

References:
What happened to "dbNameOfPV" in EPICS 3.15.1 : Need this for caPutLog Williams Jr., Ernest L.

Navigate by Date:
Prev: RE: getAddress method behaviour Heesterman, Peter J
Next: RE: getAddress method behaviour Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: What happened to "dbNameOfPV" in EPICS 3.15.1 : Need this for caPutLog Williams Jr., Ernest L.
Next: EPICSQt version 3.0.0 released Andrew Rhyder
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·