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  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Question about CA event (i.e. monitor) time order
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Thu, 5 Jul 2012 12:00:14 -0500
Hi Dirk,

On 2012-07-05 Dirk Zimoch wrote:
> 
> Consider a client that subscribes for two PVs (here in particular two
> fields of the same record). Now the IOC (the record support) posts
> events on both fields. Is the time order of these two events preserved?
> 
> In other words, are the monitor callbacks of the client called in the
> same order as the IOC calls db_post_events()?
> 
> In my particular case, I have a client (with unknown source code) that
> sometimes sees value changes on two fields of the motor record, DMOV and
> RRBV, in the wrong order. Thus in the DMOV callback, RRBV still has the
> old value. I checked in the motor record that DMOV is always posted
> after RRBV.
> 
> Is there any mechanism in EPICS that could swap the execution order or
> should the problem be searched in the client?

Yes, the IOC server's event queue is not strictly ordered before R3.15.  This 
issue is described in the tech-talk email thread pointed to by the "full 
specification" link on this page:

https://blueprints.launchpad.net/epics-base/+spec/strict-ordered-event-queue

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

References:
Question about CA event (i.e. monitor) time order Dirk Zimoch

Navigate by Date:
Prev: Re: 回复: Re: Re: Problems when download synApps IOC Tim Mooney
Next: Re: Question about CA event (i.e. monitor) time order Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Question about CA event (i.e. monitor) time order Dirk Zimoch
Next: Re: Question about CA event (i.e. monitor) time order Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·