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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: DBRecord <-> PVRecord data exchange |
From: | "Veseli, Sinisa via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Joao Paulo Martins <JoaoPaulo.Martins at ess.eu>, Ignacio Arriagada <ignacio.arriagada at noirlab.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 13 Oct 2023 14:38:47 +0000 |
Hi,
pvaClient is just a client library for interacting with PVA server over pvaccess.
As far as I know, from your C++ code on the PVA server side, you interact with PVRecord using pvDatabase APIs (e.g., PVRecord class has process() interface; see, for example, how callbacks can be triggered:
https://github.com/epics-base/pvaPy/blob/e1e3965574dbcc36e015bc36231f322491dfbe39/src/pvaccess/PyPvRecord.cpp#L91).
If it helps, here is also an example of how record updates are done in pvapy:
https://github.com/epics-base/pvaPy/blob/e1e3965574dbcc36e015bc36231f322491dfbe39/src/pvaccess/PyPvRecord.cpp#L134
I think something similar is done for record updates in the area detector pva server plugin:
https://github.com/areaDetector/ADCore/blob/master/ADApp/pluginSrc/NDPluginPva.cpp
I hope this helps,
Sinisa
--
Siniša Veseli
Scientific Software Engineering & Data Management
Advanced Photon Source
Argonne National Laboratory
sveseli at anl.gov
(630)252-9182From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ignacio Arriagada via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, October 11, 2023 10:46 AM To: Joao Paulo Martins <JoaoPaulo.Martins at ess.eu> Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Re: DBRecord <-> PVRecord data exchange Hello Joao,
Thank you so much for your reply!
I think I understand. What I need is closer to [4], but this leads me to the following questions.
Thanks again for your help and patience.
Best regards,
Ignacio
On Thu, Oct 5, 2023 at 11:45 AM Joao Paulo Martins via Tech-talk <tech-talk at aps.anl.gov> wrote:
|