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

Subject: Re: Periodically calling shell functions in an IOC
From: Ralph Lange via Tech-talk <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Thu, 14 Oct 2021 10:55:24 +0200
On Wed, 13 Oct 2021 at 22:45, Wang, Andrew via Tech-talk <[email protected]> wrote:

I have a question regarding the use of shell functions with in the IOC shell. There is a shell function from StreamDevice called streamReload that I am interested in using periodically like every 30 seconds. What is the preferred method, if there are any, for doing so? Also, is there a potential way for calling that shell function within the SNL sequencer?


This is unusual as operating mode. The reload function is intended for development / rapid prototyping (testing a protocol change without rebooting the IOC).
So - please be careful with respect to possible side effects: What happens if the protocol file gets corrupted, a typo is being introduced, the disk (or nfs) is down etc. How do you detect such a situation? How do you fix it?
Needs testing.

Cheers,
~Ralph


Replies:
Re: Periodically calling shell functions in an IOC Hu, Yong via Tech-talk
References:
Periodically calling shell functions in an IOC Wang, Andrew via Tech-talk

Navigate by Date:
Prev: Re: "rpcgen: Command not found" When asyn Matt Clarke via Tech-talk
Next: Fwd: "rpcgen: Command not found" When asyn Han Lee 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  2025  2026 
Navigate by Thread:
Prev: Re: Periodically calling shell functions in an IOC Johnson, Andrew N. via Tech-talk
Next: Re: Periodically calling shell functions in an IOC Hu, Yong 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  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·