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  2022  <20232024  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  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] phoebus Tank widget: Limits from PV?
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: Jure Varlec <jure.varlec at cosylab.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 7 Jul 2023 13:01:35 +0000

> .. Given the lengths both sides of the connection go to in order to support dynamic limits over CA, it seems natural that they would be supported when using PVA.

Yes, PV Access is better prepared for this. We no longer have predefined data types in the protocol. The CSS client simply subscribes to a channel to get “everything”. The client receives the complete data structure in the first update, and from then on, the client receives whatever changes. Usually that’s the value and timestamp, maybe also severity/status. But could include the units, limits etc. So, on the client side we’re prepared to handle changing units, limits, precision, …

Of course, there’s some more detail there as well. The client cannot decipher any random data structure. We expect to see “Normative types” with “value” for the value and “display/limitLow”, “display/limitHigh” for the display range etc., see https://docs.epics-controls.org/en/latest/specs/Normative-Types-Specification.html How well the server side supports this depends on what’s in the IOC, currently called “QSRV”. Looks like it right now it certainly sends normative types, but it always sends updates for the alarm status/severity even at times where they don’t change, which is strictly speaking wrong but acceptable. Last time I tried I think changes to the units were correctly transmitted, but in the end you’ll have to give it a try yourself with the current EPICS base version to see if changes to what you’re interested in are sent out or not.

-Kay

 


References:
phoebus Tank widget: Limits from PV? Paul Sichta via Tech-talk
Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Kasemir, Kay via Tech-talk
Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Paul Sichta via Tech-talk
Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Kasemir, Kay via Tech-talk
Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Jure Varlec via Tech-talk

Navigate by Date:
Prev: Re: issue of getTimeStamp from EVR Shen, Guobao via Tech-talk
Next: Re: Looking for LV-EPICS BIndings CALab Installer, Looking for OceanOpics Spectrometer Driver Tomasz Brys 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  2022  <20232024 
Navigate by Thread:
Prev: Re: [EXTERNAL] phoebus Tank widget: Limits from PV? Jure Varlec via Tech-talk
Next: Dynamic limits in alarms Eusebio Naif Al-Soliman Fuentes 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  2022  <20232024 
ANJ, 07 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·