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: how to change the MEAN without reboot IOC? |
From: | "Mark Rivers" <[email protected]> |
To: | "Graham Cross" <[email protected]>, "???" <[email protected]> |
Cc: | Mark Woodward - Hytec <[email protected]>, [email protected] |
Date: | Mon, 16 Mar 2009 10:55:42 -0500 |
One thing to look at is the asynInt32Average device support
already in asyn/devEpics. This device support averages the callback
(interrupt) readings from a device until the next time the record is processed.
So if the record is periodically processing at 10Hz it averages all the
readings for 0.1 second, and if the scan rate is changed to 1Hz it
automatically increases the averaging period to 1 second. This requires no
changes to the driver, beyond the required support for asynInt32 callbacks. We
run some ADCs at 1kHz callback rate, so the device support does a lot of
averaging. Mark From:
[email protected] [mailto:[email protected]] On Behalf Of Graham Cross Hi Wang, Hytec currently have work in progress to
provide Asyn Driver support for our ADCs. We are currently working on the 8401
ADC code and will support the 8413 next. This new support includes
functionality to allow run time modification of many parameters including
sampling rate, collection mode, number of samples and number to average over. You will have to stop the ADC sampling to
make a change but you will not need to reboot the IOC. The specification for this work has been
driven by requirements for Diamond and agreed with them. When the code is tested and approved it
will be available to download, hopefully soon. Regards, From:
[email protected] [mailto:[email protected]] On Behalf Of ??? hi,all |