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

Subject: Re: [EXTERNAL] Re: caget freezes the bash script
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 22 Jul 2021 19:11:20 +0200
On Thu, 22 Jul 2021 at 15:05, Vodopivec, Klemen via Tech-talk <tech-talk at aps.anl.gov> wrote:
Interestingly, adding a dummy redundant pvget beforehand fixes the issue for the duration of the script:

pvget -p ca -w 0.5 -t ${BL}:CS:TL:RemExp:En 2>/dev/null
remexp_enabled=$(pvget -p ca -w 0.5 -t ${BL}:CS:TL:RemExp:En 2>/dev/null)

However, when similar dummy pvget is run before executing the script, the issue gets resolves completely.

Weird.
The easy explanation would be that pvget (or any library it uses) is changing the environment in a way that avoids the failure later on. Sounds unlikely, though.
Comparing environment dumps could rule that out.

~Ralph


References:
caget freezes the bash script Vodopivec, Klemen via Tech-talk
Re: caget freezes the bash script J. Lewis Muir via Tech-talk
Re: [EXTERNAL] Re: caget freezes the bash script Kasemir, Kay via Tech-talk
Re: [EXTERNAL] Re: caget freezes the bash script J. Lewis Muir via Tech-talk
Re: [EXTERNAL] Re: caget freezes the bash script Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Re: caget freezes the bash script Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] caget freezes the bash script Vodopivec, Klemen 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Re: caget freezes the bash script Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] caget freezes the bash script Vodopivec, Klemen 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  <20212022  2023  2024 
ANJ, 22 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·