EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Triggered autosave on exit
From: Tim Mooney <[email protected]>
To: Di Maio Franck <[email protected]>
Cc: [email protected]
Date: Fri, 5 Oct 2012 09:08:13 -0500 (CDT)
Franck,

You can use a trigger PV to cause the save set to be written whenever the trigger PV posts a value.
You can do this with a monitor save set that is also monitored:

   create_monitor_set("auto_settings.req",30,"P=xxx:")
   create_triggered_set("auto_settings.req","xxx:myTrigger","P=xxx:")

Because the save-set name is the same in both calls, the second doesn't add a new save set, but instead adds a new method to the existing save set.

Tim

----- Original Message -----
From: "Di Maio Franck" <[email protected]>
To: [email protected]
Sent: Friday, October 5, 2012 4:55:12 AM
Subject: Triggered autosave on exit

Dear Experts, Gurus and Educated Friends

A question that probably already popped-up in the past...

If we want that when the IOC process exits (in an healthy state) because it has been requested so (i.e. not crashed), the autosave is executed before the exit ... how can that be done?

The objective is to prevent that the changes made few seconds before a "restart" are lost (a use case during tests).
And we don't want to reduce the autosave period only for this case.

Thanks!

Franck


Franck Di Maio
CODAC System Designer
CODAC Section

ITER Organization, Building 519/027, CHD, Control System Division
Route de Vinon sur Verdon - 13115 St Paul Lez Durance - France
Phone: +33 4 42 17 64 05



-- 
Tim Mooney ([email protected]) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


Replies:
RE: Triggered autosave on exit Mark Rivers
References:
Triggered autosave on exit Di Maio Franck

Navigate by Date:
Prev: EPICS 3.15.0 incompatible make rules Dirk Zimoch
Next: RE: Triggered autosave on exit Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Triggered autosave on exit Di Maio Franck
Next: RE: Triggered autosave on exit Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024