EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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  Index 1994  1995  1996  <19971998  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 
<== Date ==> <== Thread ==>

Subject: Re: Archiving wit AR
From: [email protected] (Deb Kerstiens)
To: [email protected], [email protected], [email protected]
Date: Fri, 11 Apr 97 17:49:03 MDT
> 
> 
> Hi,
> 
> Finally as we developed beta version of our application we want to add
> some archiving facilities. Our requirements are as follows:
> 
> We want to archive value of the channel every 30 minutes. 
> According to the "Archive Reference Manual" by Roger Cole I prepared
> request file, but it doesn't seem to work. The contents:
> ---
> NAME: Example3FromManual
> DESC: 3rd example from the manual
> # 
> # Any comments go here
> # 
> #       DOESN'T LOOK LIKE WORKING PROPERLY
> #       (archive file doesn't change the size)
> #
> ACT:            always
> INACT:          never
> TRIGGER:        every 0:0:1	# 1s. for tests
> SNAPSHOT:	for 1:00:00, 1000 samples maximum
> OUTPUT:         set:txt arSet/97_04_11:syncSnap_PERIODIC.txt
> %endHeader%
> F1
> F2
> ----
> 
> Any idea welcome.
> 
> Regards,
> Marian
>
 
Hello Marian,

There are a couple of things you may need to know to make
the archiver work.  First, you must have valid timestamps
on the channels you are trying to archive.  The archiver
also requires that at least one piece of data in the sample
be changing.  We usually set up a soft channel in an IOC
such as a calculation record that just increments a count
as its value and is scanned so that it processes regularly.
The archiver was built to be used for beam synchronous data,
so it cares about matched timestamps.  To circumvent this
problem, the channels in the request file may be prefaced 
with the letter "F" (filled data).  The following is an 
example:

counter
F rec1
F rec2

where "counter" is the calc record I mentioned above and
rec1 and rec2 are channels you wish to archive.

Hope this helps!  Let me know if you have more questions/
problems.  BTW, Bob Dalesio and others are currently working
on a new archiving capability.  Hopefully, this one will
be easier to use :-).

deb

**********************************************************************
Deb Kerstiens		[email protected]
Phone			(505)667-3396
LANL AOT-8,MSH820	PO Box 1663, Los Alamos, NM. 87545 
**********************************************************************

 

Navigate by Date:
Prev: Archiving wit AR Marian Zurek
Next: Buffer copying? Peregrine McGehee
Index: 1994  1995  1996  <19971998  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: Archiving wit AR Marian Zurek
Next: Buffer copying? Peregrine McGehee
Index: 1994  1995  1996  <19971998  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 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·