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: Records for slow control |
From: | "Arnold, Ned D." <[email protected]> |
To: | "[email protected]" <[email protected]>, EPICS Tech-Talk <[email protected]> |
Date: | Wed, 26 Aug 2015 13:45:48 +0000 |
I'm not sure I understand your requirement in sufficient detail to make a suggestion. If the logic/timing gets more complicated than what can easily be done in records then use
a State Notation Language program that gives you almost unlimited flexibility.
Ned From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Wednesday, August 26, 2015 05:09 AM To: EPICS Tech-Talk Subject: AW: Records for slow control
Hello,
but I want to increase the value for example every hour. The time have to be variable so I need a calcout timer to count for example every 10 second from 0 to 50 and then to increase the value step by step. My problem is how to realise this with two records.
One have to increase +1, then go to the timer record and wait for example one hour set value and again: increase +1, then process timer or counter for slowly periodic scan, set value.
Thanks.
On 26/08/2015 11:39,
[email protected] wrote:
In the ao record that is setting your value, set the field SCAN to "1 second" (or how often you want to "slowly" update) and the field OROC to the step size that you want to the value to change every time (e.g. 0.1). No other records needed. Now, when you write a value like 200 to that record, the output will step up by 0.1 every second. (Or whatever step size and update rate you configured.) Hope this helps, ~Ralph |