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: Possible to Populate CSS text fields with JDBC calls?
From: "Manoussakis, Adamandios via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 25 Mar 2021 18:45:51 +0000
Thanks Kay,

I have been able to implement the autosave module from synapps.  Does anyone know how I could link a Phoebus button to restoring a certain configuration if I used autosave?  I was thinking that the Phoebus gui could set an env variable that the restore command would reference?  The only issue I currently see is the restore command is only called when the IOC is run for the first time.  If the IOC is running and I want to restore another configuration,  I would need to be in the epics shell to call restore on a different file I think?



On Mar 25, 2021, at 11:26 AM, Kasemir, Kay <kasemirk at ornl.gov> wrote:


Looking for options to automate filling in of PVs from database values given an input from a user

There are "safe/restore" type tools if your scenario is really about storing N different configurations, i.e. N different snapshots of PVs and their values, and you later want to restore them.
For example, you might want to save power supply settings under names like "Low Energy Setup", "High Energy Setup", "Golden Setup from 2019/03/19" and then later compare them, restore them, etc.

Technically they might write the values from PVs to some relational database, then restore them by reading saved values from a relational database to PVs.
Again they're referred to as save/restore tools, you could look for those instead of starting over with a script embedded in a display.

-Kay

Replies:
Re: Possible to Populate CSS text fields with JDBC calls? Mooney, Tim M. via Tech-talk
References:
Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios via Tech-talk
Re: Possible to Populate CSS text fields with JDBC calls? Kasemir, Kay via Tech-talk
RE: Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios via Tech-talk
Re: Possible to Populate CSS text fields with JDBC calls? Ralph Lange via Tech-talk
RE: Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios via Tech-talk
Re: Possible to Populate CSS text fields with JDBC calls? Kasemir, Kay via Tech-talk
Re: Possible to Populate CSS text fields with JDBC calls? Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: Possible to Populate CSS text fields with JDBC calls? Kasemir, Kay via Tech-talk
Next: Re: Possible to Populate CSS text fields with JDBC calls? Mooney, Tim M. 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: Possible to Populate CSS text fields with JDBC calls? Kasemir, Kay via Tech-talk
Next: Re: Possible to Populate CSS text fields with JDBC calls? Mooney, Tim M. 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, 25 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·