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

Subject: Re: Change PVA structure dynamically during IOC operation
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Alnajjar, Dawood" <dnajjar at slac.stanford.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 28 Sep 2022 13:12:39 -0700
On 9/28/22 11:18, Alnajjar, Dawood via Tech-talk wrote:
Hi Everyone,

I need to change a PVA structure dynamically during IOC operation. Looking at pvxs::ioc::server, I do not see an update function that allows that. Does anyone know if this is possible?

Type change w/ PVA and CA protocols is accomplished by force disconnecting clients
of a PV, which can then be given a different type when they reconnect.

With the PVXS library, the SharedPV::close() method does the disconnecting,
so that a subsequent SharedPV::open() can provide a different type.
The same can be done with the pvAccessCPP library.

https://mdavidsaver.github.io/pvxs/sharedpv.html#_CPPv4N4pvxs6server8SharedPV5closeEv

That said, you mention "ioc" so you may be referring to QSRV.  The process database
(aka. records) does not current have a concept of type change after records have
been loaded.

References:
Change PVA structure dynamically during IOC operation Alnajjar, Dawood via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Re: Change PVA structure dynamically during IOC operation bob dalesio via Tech-talk
Next: asynMotorController weird behavior when using any read/write interface mask Abdalla Ahmad via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Re: Change PVA structure dynamically during IOC operation bob dalesio via Tech-talk
Next: asynMotorController weird behavior when using any read/write interface mask Abdalla Ahmad via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 29 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·