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: Strangeness in ai/mbbiDirect with StreamDevice on PINI
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Tue, 27 Jun 2023 08:50:08 +0200
On Mon, 26 Jun 2023 at 23:02, Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> wrote:

I suspect what you are seeing results from the asyn port not being
connected at the time of the IOC's initial scan.

Firstly, the name "StatusRegister" suggests to me that this value
should be read more than once on IOC startup.

imo. for robust operation some care should be taken anytime when
IOC and device don't share a power switch.

I try to avoid PINI with such devices, and instead use SCAN="10 second"
as a starting point for values which change slowly or only on device
power cycle.

If you haven't already, also check the StreamDevice documentation of the @init exception handler. https://paulscherrerinstitute.github.io/StreamDevice/processing.html#init

Cheers,
~Ralph


References:
Strangeness in ai/mbbiDirect with StreamDevice on PINI Leblanc, Gregory via Tech-talk
Re: Strangeness in ai/mbbiDirect with StreamDevice on PINI Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Display custom TCP data in CS-Studio Vishnu Patel via Tech-talk
Next: Re: Display custom TCP data in CS-Studio 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: Strangeness in ai/mbbiDirect with StreamDevice on PINI Michael Davidsaver via Tech-talk
Next: Re: Strangeness in ai/mbbiDirect with StreamDevice on PINI Zimoch Dirk 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, 27 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·