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  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: timestamp for change in monitored PV
From: Ralph Lange <[email protected]>
To: Patrick Thomas <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Sun, 25 Jul 2010 13:23:04 -0400
Hi Patrick,

there are a couple of ways to achieve a slower monitor update rate. You could
- Use the MDEL field (of analog records) to set a deadband for the value updates. (That works on the value, though, not directly on the rate.)
- Set the record to periodic scanning, e.g. have it process every second or every two seconds instead of I/O interrupt scanning.
If you need the original record with the original scan rate internally, you can always add a periodically (slower) scanned record and point its input to the original (faster) one. Then your clients can somewhat choose the update rate by connecting to the appropriate record.


Hope this helps,
Ralph


On 24.07.2010 02:21 Patrick Thomas wrote:
Sorry, I figured it out. However, is there an easy way to report changes only over a certain time period? For example, if a channel can change at 16Hz, to only report the changes in the value every second or every two seconds?

Thank you,
Patrick

Patrick Thomas wrote:
Hi,

I'm trying to add timestamps to the example caMonitor. Is there a timestamp stored somewhere for each time a PV changes, or do I need to get the current time when the callback is called?

Thank you for your time,
Patrick


References:
timestamp for change in monitored PV Patrick Thomas
Re: timestamp for change in monitored PV Patrick Thomas

Navigate by Date:
Prev: Re: timestamp for change in monitored PV Patrick Thomas
Next: Analog output device support design Angus Gratton
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: timestamp for change in monitored PV Patrick Thomas
Next: Analog output device support design Angus Gratton
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·