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 | 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 |
<== 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