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  2019  <20202021  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  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: IOC Startup - init value used sometimes instead of put
From: Paul Nord via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 16 Jun 2020 12:52:13 -0500
Strange problem. 

A. I create a bunch of PV's with initial values.
B. A little later in the code another configuration file is read for values and put is called.
C. IOC is started.
D. Some of the PV's get the correct values.  Some still show init value.

If I call the configure routine to set the PV's "some time" later, the load reliability.

I can add a 30 second delay, but I've lost confidence that I can guarantee initialization under circumstances where processor load might change.  It looks like the "init" value is being set some random time after the PV is created.  Possibly even overwriting later calls to put.

I'm using Python Soft IOC.

Thoughts?

Paul

Replies:
Re: IOC Startup - init value used sometimes instead of put Mark Rivers via Tech-talk
Re: IOC Startup - init value used sometimes instead of put J. Lewis Muir via Tech-talk

Navigate by Date:
Prev: Re: tsub record: assert(prt->no_fields == 558) fails Johnson, Andrew N. via Tech-talk
Next: Re: IOC Startup - init value used sometimes instead of put Mark Rivers 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  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: tsub record: assert(prt->no_fields == 558) fails John Dobbins via Tech-talk
Next: Re: IOC Startup - init value used sometimes instead of put Mark Rivers 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  2019  <20202021  2022  2023  2024 
ANJ, 17 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·