Experimental Physics and Industrial Control System
|
Hi Adamandios,
Autosave's configMenu facility is intended for this purpose. It can't read from a database, though. It reads and writes configurations as autosave .sav files (text files). Here's the relevant section of the documentation:
Tim Mooney (mooney at anl.gov) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Manoussakis, Adamandios via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, March 25, 2021 1:45 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Possible to Populate CSS text fields with JDBC calls?
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? Manoussakis, Adamandios via Tech-talk
- Re: Possible to Populate CSS text fields with JDBC calls? Hu, Yong 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
- Re: Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios via Tech-talk
- Navigate by Date:
- Prev:
Re: Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios via Tech-talk
- Next:
Re: Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios 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
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios via Tech-talk
- Next:
Re: Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios 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
<2021>
2022
2023
2024
|
ANJ, 26 Mar 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|