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  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Camonitor with client dictated update rate
From: Ralph Lange via Tech-talk <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Thu, 30 May 2019 18:14:19 +0200
Channel Access subscription updates are triggered by the database, there is practically no way around that. Changing Channel Access to allow the client to define the update rate would need a compatibility breaking change in the wire protocol, major code changes in the CA server etc.

I see three feasible ways to achieve the required behavior:

1. Add records for the slower update rates. One more input record of the same type per signal, with a periodic SCAN of the desired rate and an NPP input to the fast signal. If you want to do averaging or other decimation math, use a compress record in front of your slow record.

2. Write a server-side filter that implements a reduced update rate by throwing away updates that are too fast. The filters that are part of base (in src/std/filters), especially the sync filter, give hints how this should be done. A filter that implements a client-defined maximum update rate would definitely be interesting enough for inclusion in base.

3. Have the client do periodic get() requests instead of a subscription. Yes, that would do a request/response message pair every time, but if you are trying to get from really fast update rates down to once per second, doing a full cycle once per second is not that far off.

Cheers,
~Ralph


Replies:
Re: Camonitor with client dictated update rate Johnson, Andrew N. via Tech-talk
References:
Camonitor with client dictated update rate Hinko Kocevar via Tech-talk

Navigate by Date:
Prev: Re: support for SBS IP-Stepper and Technalogix TSV-3000 RF amplifier Peterson, Kevin M. via Tech-talk
Next: FW: How to share asyn's queue thread among ports? Mark Rivers 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Camonitor with client dictated update rate Klemen Vodopivec via Tech-talk
Next: Re: Camonitor with client dictated update rate Johnson, Andrew N. 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  <20192020  2021  2022  2023  2024 
ANJ, 30 May 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·