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  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: record with constant input link
From: Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>
To: <tech-talk at aps.anl.gov>
Date: Mon, 6 Nov 2023 08:15:57 +0100
Am Fri, 3 Nov 2023 17:05:38 +0100
schrieb Gerrit Kühn via Tech-talk <tech-talk at aps.anl.gov>:

> > > Another issue I have been running into with this is the order of
> > > record initialisation.  

> > For this (within one IOC) you can use the PHAS field of a record. 
> > Records with smaller PHAS values are processed before records with 
> > higher values.  

> Great, thanks for the pointer. I hadn't seen that one before.

Unfortunately, setting PHAS did not help with the issue I am trying to
resolve. Probably I did not describe the situation with enough details:

I have a mbbo record that is using streamdevice. The protocol doing the
setting part has an @init handler that should use input from a different
channel via redirection. This channel is not initialised at that point
(empty).
It looks like @init is happening too early. Even setting the redirected
record to PHAS=0 and the initialising one to PHAS=10 does not change this.
Loading the needed records with a separate dbLoadRecords statement in
st.cmd does not help, either.

Is there a way to have selected records initialised before @init is being
run?


cu
  Gerrit

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
Re: record with constant input link Ralph Lange via Tech-talk
Re: record with constant input link Ralph Lange via Tech-talk
References:
record with constant input link Gerrit Kühn via Tech-talk
Re: record with constant input link Simon Rose via Tech-talk
Re: record with constant input link Gerrit Kühn via Tech-talk
Re: record with constant input link Rolf Keitel via Tech-talk
Re: record with constant input link Gerrit Kühn via Tech-talk

Navigate by Date:
Prev: ci-scripts 3.4.1 release: updates, improvements and fixes Ralph Lange via Tech-talk
Next: Re: record with constant input link Ralph Lange 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  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: record with constant input link Gerrit Kühn via Tech-talk
Next: Re: record with constant input link Ralph Lange 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  2020  2021  2022  <20232024 
ANJ, 06 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·