Experimental Physics and Industrial Control System
|
One simple-minded approach I have recently taken works with Kay's
channel archiver.
I made a simple mod to the archiveExport utility so that the command
ArchiveExport -snapshot -format decimal -precision 6 -start "06/27/2007
00:00:00" -end "06/27/2007 00:00:00" /a/20070614_015041/Arc
t:esx_t-2:volt_ctl
produces the following kind of output:
#06/26/2007 07:16:50.242633762
caput t:esx_t-2:volt_ctl "2.930956"
The mod makes the -snapshot option available, so don't try this with the
current
distribution.
----------------
So, then I build a file from a list of pvs like the following:
echo "Timestamp: $1"
echo "Archive: $2"
echo "Output file is: out"
ArchiveExport -snapshot -format decimal -precision 6 -start "$1" -end
"$1" $2 t:h2_c4_L2 >> out
ArchiveExport -snapshot -format decimal -precision 6 -start "$1" -end
"$1" $2 t:h2_c11_L2 >> out
ArchiveExport -snapshot -format decimal -precision 6 -start "$1" -end
"$1" $2 t:h2_c16_L2 >> out
.
.
.
-----------------------------
The saved values are restored by executing the output file, as shown below.
./out
-----------------------------
OK, not very nice, but an integrated utility to do all this in a
straightforward manner would be
great to have.
- John Sinclair
Andrew Johnson wrote:
Matthias Clausen wrote:
Is there a volunteer to compute a list of 'problems to be solved'
versus 'tools to be used'?
At least I would add our tools to that list.
Could this be a wiki page at APS? - Andrew??
Sure, that would seem appropriate - if anyone doesn't already have a
Wiki account they should email me to have one created. I created an
initial page with a pointer to the SynApps Autosave package for
starters, linked from the HowTo Documents wiki page, found at
http://www.aps.anl.gov/epics/wiki/index.php/What_PV_Save_and_Restore_Tools_are_available
Note that there are a number of save/restore tools listed on the Soft
Support page at http://www.aps.anl.gov/epics/modules/soft.php - this
would be a good place to start for more tools.
- Andrew
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- References:
- PV save and restore tool sought Rock, Judith E.
- Re: PV save and restore tool sought Emmanuel Mayssat
- Re: PV save and restore tool sought Matthias Clausen
- Re: PV save and restore tool sought Andrew Johnson
- Navigate by Date:
- Prev:
Re: medm, edm, other on fc6 Guy Jennings
- Next:
RE: asynRecord and Labview problem Mark Rivers
- 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: PV save and restore tool sought Andrew Johnson
- Next:
Re: PV save and restore tool sought Thomas Birke
- 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, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|