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: Simon Rose <Simon.Rose at ess.eu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 3 Nov 2023 16:37:29 +0100
Am Fri, 3 Nov 2023 12:37:35 +0000
schrieb Simon Rose <Simon.Rose at ess.eu>:

> The INP link is meant to be the record that the stringin record fetches
> data from, which it would then  write into the VAL field. You can see
> this by creating a second (e.g. stringout) record with the name "test",
> and then processing your stringin record at which point it will fetch
> the value from the stringout record.

Ah, great, there was my misconception, thanks!. Although I still don't
quite understand what a "constant" in "a database or channel access link,
or a constant" would mean in that context then. In your scenario above this
would not be a constant, right? Somehow this still feels like it does not
work as advertised in the manual.

> That said, if this is meant to be a constant string used by other
> resources, it would likely be better-suited as a stringout record;
> stringin records are for reading input from another source.

Yes, I was already thinking about that, too (but it looked like I had some
other misunderstanding that I wanted to sort out first ;-).
The string would be constant under most circumstances, but it should be
possible to change it via caput in certain (rare) cases.

Another issue I have been running into with this is the order of record
initialisation. The string in this record is needed by other records and
thus should be initialised first. But from what I have read on the web so
far I understand there is no mechanism to guarantee that within one
database. However, I probably could put records like this in a separate
database and load that one in st.cmd first?


cu
  Gerrit

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


Replies:
Re: record with constant input link Rolf Keitel 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

Navigate by Date:
Prev: Sequencer interpretation of PV names with {,} characters Ivashkevych, Oksana via Tech-talk
Next: Re: Sequencer interpretation of PV names with {,} characters Kasemir, Kay 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 Simon Rose via Tech-talk
Next: Re: record with constant input link Rolf Keitel 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, 03 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·