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  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: fast PV transition skipped in EPICS 3.16
From: Simon Reiter via Tech-talk <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Wed, 02 Oct 2019 14:57:14 +0200
-------- Forwarded Message --------
From: Simon Reiter <[email protected]>
To: [email protected]
Subject: fast PV transition skipped?
Date: Tue, 1 Oct 2019 11:55:29 +0200

Hi,

I am observing a strange behavior with EPICS 3.16 and the sequencer v2.2.7. But
I fear
it origins in base. So this is, what is used:

1. I set a mbbo PV "main:req" from 1 to 3(e.g. by caput)
2. A calcout PV pushed to a dfanout (input as CPP)
3. dfanouts pushes to second mbbo "sub:req"
4. sequencer reacts onto second mbbo and changes its state correctly rom 1 -> 2
(visible via logging)
5. a thrid mbbo "sub:cur" is set by the sequencer (using SYNC and usleep(100) )

6. I set the first mbbo PV "main:req" back to 1
7. repeat of step 2 and 3
8. sequencer needs to go from state 2 to state 4 before going back to state 1
(also visible via logging)

But in case I do step 1 and 6 too close to each other, step 8 seems to not push
the state correctly. The logging inside the IOC shows me that the state was
included in the transistions.


This is my logging via camonitor:

caput main:req 3 && caput main:req 1

--- works ---
sub:req       2019-10-01 09:37:20.373428 3
sub:req       2019-10-01 09:37:20.410165 1

sub:cur       2019-10-01 09:37:20.374262 2
sub:cur       2019-10-01 09:37:20.410946 4
sub:cur       2019-10-01 09:37:20.411308 1

--- fails ---
sub:req       2019-10-01 09:37:50.956651 3
sub:req       2019-10-01 09:37:50.993201 1

sub:cur       2019-10-01 09:37:50.957223 2
sub:cur       2019-10-01 09:37:50.994039 1


Currently I have not yet stripped my project to a very small version and there
is more than just 1 sub in total.



In addition to this I have a copy (simple calcout with CPP as input) of sub:cur
in a separate IOC on a different host (actually ppc). I observed that this PV
is not updated properly as well sometimes:

sub:cur       2019-09-30 17:45:23.270295 2
copy:sub:cur  2019-09-30 17:45:23.270986 2
sub:cur       2019-09-30 17:45:25.280127 3
sub:cur       2019-09-30 17:45:25.280533 1
copy:sub:cur  2019-09-30 17:45:25.281447 1



With EPICS 3.14 this does not occur.

Any idea, what might have changed and where this problem is connected to?

Best regards,
Simon


-- 
Simon Reiter
II. Physikalisches Institut
Justus-Liebig-Universität
Heinrich-Buff-Ring 14
D-35392 Giessen
Tel: +49 641 99 33250


Replies:
Re: fast PV transition skipped in EPICS 3.16 Simon Reiter via Tech-talk

Navigate by Date:
Prev: Re: EPICS base missing header files when using INSTALL_LOCATION Zimoch Dirk (PSI) via Tech-talk
Next: Re: EPICS base missing header files when using INSTALL_LOCATION Michael Davidsaver via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Job Opening at Lyncean Technologies Terri Lahey via Tech-talk
Next: Re: fast PV transition skipped in EPICS 3.16 Simon Reiter via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 14 Oct 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·