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  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: Phoebus Archive xml config file: Automate generation, using Autosave module of synApps??
From: Kuldeep Joshi via Tech-talk <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 28 Jul 2021 08:40:16 +0000

>   Note that we're not using the info settings on the IOC.
We're simply (mis-)using the familiar syntax for storing some related info in the *.db file.
Might as well have used "#info(..." to turn it into a magic comment that's ignored by the database yet used by our tool, which is a python script that parses the database files for "record(xx, THE_NAME)" and then an optional "info(archive...)", from which it creates the archive configuration file.
The script won't handle macros in the database files and doesn't promise to handle all possible database files, but it's been helpful for this purpose.

I wonder if leveraging the function makeAutosaveFileFromDbInfo from the autosave module is used, one may not have to worry about macro substitution.

We can have additional information inserted in the info field to indicate various modes of archiving, group names and the group enable parameters.
This function's source code can be customised to extract info relevant to the CSS arcihver as a .req file. This info can be further converted to XML format.

OR
ofcourse we can do so independently by having a aSub record fetching the info records after iocInit


Kuldeep


Replies:
Re: [EXTERNAL] Phoebus Archive xml config file: Automate generation, using Autosave module of synApps?? Kasemir, Kay via Tech-talk
References:
Phoebus Archive xml config file: Automate generation. Kuldeep Joshi via Tech-talk
Re: [EXTERNAL] Phoebus Archive xml config file: Automate generation. Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: PVXS release 0.2.0 (also P4P 4.0.0a1) Michael Davidsaver via Tech-talk
Next: Re: [EXTERNAL] Phoebus Archive xml config file: Automate generation, using Autosave module of synApps?? Kasemir, Kay 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: [EXTERNAL] Phoebus Archive xml config file: Automate generation. Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] Phoebus Archive xml config file: Automate generation, using Autosave module of synApps?? Kasemir, Kay 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