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

Subject: Re: asyn R4.26
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Tue, 3 Mar 2015 17:43:21 +0100
On Monday 02 March 2015 12:55:47 Zenon Szalata wrote:
> But I still am confused.  I see that the longout record is not
> "really" processed; it did not write its VAL to the OUT link.

Exactly. This is the trick that makes it all work, since you don't
*want* the record to do a real write to the hardware. Writing normally
occurs in the first processing phase. This first phase never actually
happens, instead the device support writes the value it reads back from
the hardware into the record, sets PACT and then calls process. So the
record support *thinks* it being called for teh second time i.e. to
signal completion of the IO. It then does the rest of what we want,
namely setting the new severities etc.

We have been using the same method (for bumpless reboot) in our custom
MultiCAN device support for some years. It's tricky to get all the
details in the device support right but when you do it works perfectly.

Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

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

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

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

http://www.helmholtz-berlin.de


References:
asyn R4.26 Zenon Szalata
RE: asyn R4.26 Mark Rivers
Re: asyn R4.26 Zenon Szalata

Navigate by Date:
Prev: Re: "No conversion between src & dest" warning with pcaspy Andrew Johnson
Next: Re: "No conversion between src & dest" warning with pcaspy Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: asyn R4.26 Mark Rivers
Next: LinuxRT remote reboot from EPICS Luchini, Kristi L.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·