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: how NOT to update the record |
From: | Ralph Lange <[email protected]> |
To: | Tasaddaq Khan <[email protected]> |
Cc: | EPICS Tech-Talk <[email protected]> |
Date: | Fri, 10 Jul 2015 09:41:16 +0200 |
Hi Tasaddaq, You have explicitly configured your record d to do "A+1", with A fetched from record c, and you say that c should be zero if you set b to 0. The value that record b puts into the VAL field of record d will be overwritten when d processes, fetching A from record c and calculating "A+1". If you want d to use its own last VAL, d.CALC should be "VAL+1". ~Ralph On 10/07/2015 07:59, Tasaddaq Khan
wrote:
|