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: [EXTERNAL] Re: Change PVA structure dynamically during IOC operation
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Alnajjar, Dawood" <dnajjar at slac.stanford.edu>
Date: Wed, 28 Sep 2022 18:38:46 +0000
You're right, I missed the Any type.
It does encode the structure description with each update, so missing out the efficiency usually offered in the protocol.
Yes, union would be better. It describes all options once, then sends updates with just the index of the option that's being used.



From: Andrew Johnson <anj at anl.gov>

PVA does support unions though, and an "any" type, so assuming you can design all the versions of the structure that you will need up front (and that the pvxs implementation supports them) you should be able to use them to make changes to your PVA structure without having to withdraw and re-add the PV. I believe a union will be more efficient than using an "any".

Replies:
Re: [EXTERNAL] Re: Change PVA structure dynamically during IOC operation bob dalesio via Tech-talk
References:
Change PVA structure dynamically during IOC operation Alnajjar, Dawood via Tech-talk
Re: Change PVA structure dynamically during IOC operation Kasemir, Kay via Tech-talk
Re: Change PVA structure dynamically during IOC operation Andrew Johnson via Tech-talk

Navigate by Date:
Prev: Re: Change PVA structure dynamically during IOC operation Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] Re: Change PVA structure dynamically during IOC operation bob dalesio 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: Change PVA structure dynamically during IOC operation Andrew Johnson via Tech-talk
Next: Re: [EXTERNAL] Re: Change PVA structure dynamically during IOC operation bob dalesio 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, 28 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·