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: CA output links not working with PINI=YES?
From: Christoph Schroeder via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 5 Mar 2020 11:52:38 +0100
Hello everyone,

I need to write a value via CA link on IOC boot which didn't seem to
work with PINI=YES.

I created a minimal example to investigate this:
Source:
record (longout, "TEST:longout") {
    field(OUT, "TEST:longin CA")
    field(VAL, "1")
    field(PINI, "YES")
}

Target:
record (longin, "TEST:longin") {
}

The documentation states, that the target fields PP attribute decides
whether to process the record or not for CA output links. This is the
case for the longin's VAL field:
field(VAL, DBF_LONG) {
    pp(TRUE)
    promptgroup("40 - Input")
    asl(ASL0)
    prompt("Current value")
}

What's strange is, that the CA link is invalid after initialization:
TEST:longout                   2020-03-05 10:34:03.097922 1 LINK INVALID
Of course I started the IOC running TEST:longin beforehand.

Processing TEST:longout afterwards will work as intended. Am I missing
something or do CA output links do not work on initialization in general?
I tested this with base R3.15.5 and base R7.0.2.1 whith two IOCs running
on the same machine, same behavior for both.


Thanks and best regards,
Christoph


--
(bb|[^b]{2})


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

Replies:
Re: CA output links not working with PINI=YES? J. Lewis Muir via Tech-talk

Navigate by Date:
Prev: Re:RE: Asyn support for GPIB-ENET 杨栋亮 via Tech-talk
Next: Re: CA output links not working with PINI=YES? J. Lewis Muir 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: String size limit for Eiger FileWriter when compiling with g++ > 5.2 Bruno Martins via Tech-talk
Next: Re: CA output links not working with PINI=YES? J. Lewis Muir 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, 05 Mar 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·