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

Subject: Re: SNL monitor and pvPutComplete
From: "Pearson, Matthew R." <[email protected]>
To: Benjamin Franksen <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 23 Jan 2014 10:05:33 -0500
Hi Ben,

Thanks. In the end I decided I couldn't rely on the ordering being preserved in the channel access put_callback and monitor events. So I removed the SNL monitors for those variables and just used pvGet (with SYNC), which seems the more deterministic way of doing it. I ran a test overnight and didn't see a problem.

Cheers,
Matt


On Jan 23, 2014, at 6:11 AM, Benjamin Franksen <[email protected]> wrote:

> On Wednesday, January 22, 2014 16:01:49 Pearson, Matthew R. wrote:
>> Now I'm wondering how the callback reply can arrive at the client
>> before the monitor.
> 
> I can't tell how this is possible, it seems strange, assuming that the 
> database is always behaving in the way you see when enabling TPRO. Maybe 
> some artefact of thread scheduling on the IOC (just guessing).
> 
> Anyway I agree that using an event flag for the status pv is the 
> reliable way to get this to work. An explicit get is also a valid 
> solution (and yes, doing pvGet on a monitored variable is allowed and 
> sometimes makes sense).
> 
> Cheers
> Ben
> -- 
> "Make it so they have to reboot after every typo." ― Scott Adams



References:
SNL monitor and pvPutComplete Pearson, Matthew R.
RE: SNL monitor and pvPutComplete Emmanuel Mayssat
Re: SNL monitor and pvPutComplete Pearson, Matthew R.
Re: SNL monitor and pvPutComplete Benjamin Franksen

Navigate by Date:
Prev: mca Matlab. Problems on compilation Rafael Antonio Baron
Next: RE: SNL monitor and pvPutComplete Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: SNL monitor and pvPutComplete Benjamin Franksen
Next: RE: SNL monitor and pvPutComplete Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·