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: Sequencer seem to skip states with EPICS 3.16.1 |
From: | Simon Reiter <[email protected]> |
To: | [email protected] |
Date: | Wed, 31 Jan 2018 11:52:51 +0100 |
On 01/31/2018 10:15 AM, Ralph Lange wrote:
Have a look at http://www-csr.bessy.de/control/SoftDist/sequencer/Tutorial.html#asynchronous-use-of-pvputI think the SYNC option of pvPut(), which turns it into a blocking call, might help.Cheers, ~Ralph
I tried this now with
#define SET_PV(pv_variable, value) \ { \ pv_variable = value; \ pvPut(pv_variable, SYNC); }
but I still observe the same behavior in EPICS3.16 and EPICS7.Switching to ASYNC and using pvPutComplete into the when condition did not solve the problem
2018-01-31 11:48:46.633 [fine ] [sm] new state reached: 6 (STARTING) 2018-01-31 11:48:46.634 [fine ] [sm] new state reached: 3 (RUNNING)
The log messages (ASYNC & pvPutComplete) in the IOC looks fine. Further ideas?