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: passive record/field to process when there is a CA read |
From: | Andrew Johnson <[email protected]> |
To: | Dehong Zhang <[email protected]> |
Cc: | [email protected] |
Date: | Tue, 05 Feb 2008 11:47:04 -0600 |
What we have in mind is a simple case: if no CA client is "getting" data from a PV, the PV can remain un-processed -- processor does nothing. It can be
waiting for events or PP etc. Once a CA client tries to get/read data, the EPICS
internal part checks to see whether there is a recent-enough copy, just return
the data if yes, or process then return if the current data is too old.
So we could have a scan option, which does "process upon CA request but not more than * Hz". This way the IOC is protected.
Without such an option, the user would need 2 actions like Dirk pointed out, or the processor has to waste some cycles to always make sure the data is current, either by listening to events or process periodically.
- Andrew -- When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong. -- Arthur C. Clarke