source: pvrrd/doc/source/overview.rst @ 624

Last change on this file since 624 was 624, checked in by jemian, 12 years ago

converted documentation into initial sphinx documentation -- most code modules need better docstrings

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author HeadURL Id
File size: 2.2 KB
Line 
1.. $Id: overview.rst 624 2011-08-21 20:15:37Z jemian $
2
3RRD database changes
4------------------------------------------------------------------
5
6    * Each EPICS PV goes into its own RRD database.
7      This simplifies the addition of PVs into the logging system.
8    * 10x finer time granularity now than before.
9      Data are being averaged into minimum 30-second bins.
10      (Data can always be updated to system at 1 Hz, if available.)
11
12Default WWW page
13------------------------------------------------------------------
14
15The default WWW page is now PHP. This allows for greater
16flexibility in designing new interfaces. The default
17interface shows a gallery of available PNG plots with
18data logged from the last week. Each plot is linked to
19a full description of logged data (6 plots for last:
20hour, day, week, month, year, and decade).
21
22Codebase
23------------------------------------------------------------------
24
25Python has been used to implement the support code, calling ``rrdtool``
26through the rrdtool Python support module. 
27The main WWW page is rendered in PHP.
28
29Configuration details
30^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31
32Two XML files are used for configuration:
33  * ``pvlist.xml``
34     describes each of the EPICS Process Variables to be logged
35  * ``properties.xml``
36     describes various other configuration and implementation
37     details for the support code.
38
39RRD database creation
40^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
41
42Each PV has its own RRD database, created by :mod:`rrdCreate`.
43
44CGI script operation
45^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
47A web page request will cause ``rrdcgi`` to generate
48the www page content (text and plots) on demand. 
49It may be necessary to force the
50page to refresh the local browser cache in order for some of the
51longer-term plots to be rebuilt.  Usually, ``<shift>-"Refresh"`` 
52or similar will get this done.
53
54
55Dependencies
56------------------------------------------------------------------
57
58:note: TODO: verify
59
60Several different software tools are necessary to provide
61this support:
62  * Python
63
64    * librrdtool
65    * CaChannel
66    * xml.etree.ElementTree
67
68  * PHP
69
70    * rrdtool support
71
72  * WWW server
73
74    * rrdtool support
75
Note: See TracBrowser for help on using the repository browser.