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 2023 <2024> 2025 | 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 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: IOC with Normative Types |
From: | Timo Korhonen via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Kasemir, Kay" <kasemirk at ornl.gov>, Pierrick M Hanlet <hanlet at fnal.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 29 Jul 2024 12:37:54 +0000 |
Hi, To throw in my 2 cents: It helps at least me to think in the following way, assuming some familiarity with SQL databases: Channel Access with DBR_XXXX types, as well as pvAccess with simple (scalar, vector) Normative Types work like a pre-defined query to a single
record. With pvAccess and structured types one can create (pre-defined) queries to
multiple records. Queries can be atomic, i.e., guaranteed that the constituent records are not manipulated when the data is assembled for transport. This is done with group definitions. See e.g.
https://mdavidsaver.github.io/pvxs/qgroup.html#qsrv-groups
(can be found with some clicking from https://docs.epics-controls.org/en/latest/pv-access/overview.html) When you think about it, it is a very powerful method to combine the advantages of EPICS records (initialization, templating, alarm logic, device interfacing, ….) with efficient
structured data transport. Finally, to my favorite topic: I agree that the documentation can be hard to find and often “programmer-friendly” but there are a number of examples. I hope we can add more. “We the community” are working to try to improve the documentation and make it easier to find but it requires quite a lot of effort and interest.
All contributions are highly appreciated, including (and especially) pointing out areas that are the weakest.
Cheers, Timo From:
Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |