On 11/25/21 10:07 PM, Kuldeep Joshi via Tech-talk wrote:
> Hello,
> I understand that the PVAccess protocol sends only the data that changed.
> I was seeing some demo codes in phoebus using PVAccess https://github.com/ControlSystemStudio/phoebus/blob/master/app/display/model/src/main/resources/examples/table/server.py <https://github.com/ControlSystemStudio/phoebus/blob/master/app/display/model/src/main/resources/examples/table/server.py>. where the whole structure is updated.
With P4P change tracking is mostly automatic.
https://mdavidsaver.github.io/p4p/values.html#change-tracking
> In my case the top level PVA object is epics:nt/NTTable:1.0 .I wanted to incrementally add the data to the table.
However, I don't think this will help you much in the case of
NTTable as the PVA delta encoding operations on whole fields.
So an array field, like those which represent each columns of
a NTTable, will always be sent in their entirety.
So eg. if the contents of a column don't change, then there is
no need to re-send. However, if one cell is changed, added,
or removed, then the entire column needs to be re-sent.
For this reason I would suggest thinking in terms of publishing
a new set of rows with each subscription/monitor update, and not
of appending as this will necessitate inefficient duplication
over the network.
> How do I do so?
>
> PS: I am new to PVAccess
>
> Regards,
> Kuldeep
- References:
- PVAccess server in python. Kuldeep Joshi via Tech-talk
- Navigate by Date:
- Prev:
PVAccess server in python. Kuldeep Joshi via Tech-talk
- Next:
Re: CSS (Eclipse and Phoebus) super slow on a server with multiple users Michael Davidsaver 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
2023
2024
- Navigate by Thread:
- Prev:
PVAccess server in python. Kuldeep Joshi via Tech-talk
- Next:
MVME3100 boot failure at "Trying to find CSR on VME" Peter Linardakis 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
2023
2024
|