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  2023  2024  <2025 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  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: RE: Process PINI-Record again as soon as device is reconnected
From: "Pearson, Matthew via Tech-talk" <tech-talk at aps.anl.gov>
To: "Friederich, Dr. Simon" <sifriede at uni-mainz.de>, "ralph.lange at gmx.de" <ralph.lange at gmx.de>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 16 May 2025 20:27:26 +0000

Hi,

 

It should also work for that specific case, see:

https://paulscherrerinstitute.github.io/StreamDevice/processing.html#init

 

Another way to handle this is to not use PINI, and instead have some record logic that processes all the records (that did use PINI=Yes) when the Asyn port becomes connected. And you can detect this by using an asynRecord via the CNCT field. So when CNCT changes state, trigger the record processing.

 

Cheers,

Matt

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Friederich, Dr. Simon via Tech-talk
Sent: Friday, May 16, 2025 2:57 PM
To: ralph.lange at gmx.de
Cc: tech-talk at aps.anl.gov
Subject: [EXTERNAL] Re: Process PINI-Record again as soon as device is reconnected

 

Dear Ralph, But does @init except handle the case if the ioc is already running before a device is available? I think I've tested both (@init, PINI) and that did not help with this issue. Best regards Am 16. Mai 2025, 19:34, um 19:34, Ralph

Dear Ralph,

But does @init except handle the case if the ioc is already running before a device is available? I think I've tested both (@init, PINI) and that did not help with this issue.

Best regards

Am 16. Mai 2025, 19:34, um 19:34, Ralph Lange <ralph.lange at gmx.de> schrieb:

>On Fri, 16 May 2025 at 16:05, Dr. Simon Friederich via Tech-talk

> 

>In most cases I use asyn + streamdevice to talk to my devices so I

>guess might be some kind of signal comming from asyn "hey, the device

>is back online, now you can (re)process your PINI-records"?

> 

> 

>That's what StreamDevice's @init exception handler does.

> 

> 

>Cheers,

>~Ralph

> 


Replies:
Re: Process PINI-Record again as soon as device is reconnected Dr. Simon Friederich via Tech-talk
References:
Process PINI-Record again as soon as device is reconnected Dr. Simon Friederich via Tech-talk
Re: Process PINI-Record again as soon as device is reconnected Ralph Lange via Tech-talk
Re: Process PINI-Record again as soon as device is reconnected Friederich, Dr. Simon via Tech-talk

Navigate by Date:
Prev: Re: Process PINI-Record again as soon as device is reconnected Friederich, Dr. Simon via Tech-talk
Next: Including dbBase.h leeds to DBR_XXXX macro redefines Heinz Junkes 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  2023  2024  <2025
Navigate by Thread:
Prev: Re: Process PINI-Record again as soon as device is reconnected Friederich, Dr. Simon via Tech-talk
Next: Re: Process PINI-Record again as soon as device is reconnected Dr. Simon Friederich 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  2023  2024  <2025
ANJ, 26 May 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·