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  <20132014  2015  2016  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: how to issue a shell command from EPICS record ?
From: "Johnson, Andrew N." <[email protected]>
To: Christian Pauly <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Tue, 1 Oct 2013 23:29:45 +0000
On Oct 1, 2013, at 4:01 PM, "Christian Pauly" <[email protected]> wrote:

> Can i somehow issue these shell-commands automatically before and after the scan ?
> Is there some record type available which can do this ???

You could write a subroutine record subroutine that calls system("/path/to/your/script") although that's a blocking call IIRC so it's not strictly legal in a database processing routine. It might be safer to do that from an SNL program, but there are actually many possibilities open to you between those two starting points and Pete's suggestion.

- Andrew

-- 
Sent from my iPad



References:
how to issue a shell command from EPICS record ? Christian Pauly

Navigate by Date:
Prev: RE: how to issue a shell command from EPICS record ? Emmanuel Mayssat
Next: Re: A question regarding sequencer compatibility Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: how to issue a shell command from EPICS record ? Emmanuel Mayssat
Next: Re: how to issue a shell command from EPICS record ? Konrad, Martin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·