Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022 
<== Date ==> <== Thread ==>

Subject: Re: R3.15 missing dbNameOfPV
From: Ralph Lange <Ralph.Lange@gmx.de>
To: EPICS Core-Talk <core-talk@aps.anl.gov>
Date: Mon, 05 Jan 2015 14:39:43 +0100
Was asked on tech-talk, 20-Dec-2014. Andrew's answer follows:

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



On 05/01/2015 14:31, Benjamin Franksen wrote:
Hi All

the function dbNameOfPV seems to be no longer present in 3.15. Is there
something to replace it? It is used in the caPutLog module which is why
I ask.

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



References:
R3.15 missing dbNameOfPV Benjamin Franksen

Navigate by Date:
Prev: R3.15 missing dbNameOfPV Benjamin Franksen
Next: dbl output and record name aliases Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022 
Navigate by Thread:
Prev: R3.15 missing dbNameOfPV Benjamin Franksen
Next: dbl output and record name aliases Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·