Example Raw Data for Reports#

file:

<web_site>/rawdata.html

XSLT:

rawdata.xsl

raw data:

rawdata.xml (Example Raw Data for Reports)

  1<?xml version="1.0"?>
  2<?xml-stylesheet type="text/xsl" href="pvlist.xsl"?>
  3<pvWebMonitor version="1">
  4  <written_by>pvWebMonitor/PvWatch</written_by>
  5  <datetime>2015-01-15 16:48:36</datetime>
  6  <pv id="DCM_theta" name="prj:m2.RBV">
  7    <name>prj:m2.RBV</name>
  8    <id>DCM_theta</id>
  9    <description>DCM_theta motor</description>
 10    <timestamp>2015-01-15 15:30:16.891366</timestamp>
 11    <counter>2</counter>
 12    <units>deg</units>
 13    <value>-9.840000</value>
 14    <raw_value>-9.84</raw_value>
 15    <format>%.6f</format>
 16  </pv>
 17  <pv id="DCM_theta_dmov" name="prj:m2.DMOV">
 18    <name>prj:m2.DMOV</name>
 19    <id>DCM_theta_dmov</id>
 20    <description>DCM_theta motor done moving</description>
 21    <timestamp>2015-01-15 15:30:16.864203</timestamp>
 22    <counter>2</counter>
 23    <units>deg</units>
 24    <value>1</value>
 25    <raw_value>1</raw_value>
 26    <format>%s</format>
 27  </pv>
 28  <pv id="VDM_Stripe" name="prj:m1.RBV">
 29    <name>prj:m1.RBV</name>
 30    <id>VDM_Stripe</id>
 31    <description>VDM_Stripe motor</description>
 32    <timestamp>2015-01-15 15:30:16.837633</timestamp>
 33    <counter>2</counter>
 34    <units>deg</units>
 35    <value>-1.510</value>
 36    <raw_value>-1.51</raw_value>
 37    <format>%.3f</format>
 38  </pv>
 39  <pv id="VDM_Stripe_dmov" name="prj:m1.DMOV">
 40    <name>prj:m1.DMOV</name>
 41    <id>VDM_Stripe_dmov</id>
 42    <description>VDM_Stripe motor done moving</description>
 43    <timestamp>2015-01-15 15:30:16.810400</timestamp>
 44    <counter>2</counter>
 45    <units>deg</units>
 46    <value>1</value>
 47    <raw_value>1</raw_value>
 48    <format>%s</format>
 49  </pv>
 50  <pv id="ai0" name="ino:cr:ai0">
 51    <name>ino:cr:ai0</name>
 52    <id>ai0</id>
 53    <description>Arduino AI0</description>
 54    <timestamp>2015-01-15 16:48:35.481271</timestamp>
 55    <counter>1808</counter>
 56    <units>V</units>
 57    <value>0.0439882697947</value>
 58    <raw_value>0.0439882697947</raw_value>
 59    <format>%s</format>
 60  </pv>
 61  <pv id="ai0_mean" name="ino:cr:ai0:mean">
 62    <name>ino:cr:ai0:mean</name>
 63    <id>ai0_mean</id>
 64    <description>Arduino mean AI0</description>
 65    <timestamp>2015-01-15 16:48:35.987300</timestamp>
 66    <counter>7901</counter>
 67    <units>V</units>
 68    <value>0.0467644183773</value>
 69    <raw_value>0.0467644183773</raw_value>
 70    <format>%s</format>
 71  </pv>
 72  <pv id="ai1" name="ino:cr:ai1">
 73    <name>ino:cr:ai1</name>
 74    <id>ai1</id>
 75    <description>Arduino AI1</description>
 76    <timestamp>2015-01-15 16:43:42.932475</timestamp>
 77    <counter>6</counter>
 78    <units>V</units>
 79    <value>0.0</value>
 80    <raw_value>0.0</raw_value>
 81    <format>%s</format>
 82  </pv>
 83  <pv id="ai1_mean" name="ino:cr:ai1:mean">
 84    <name>ino:cr:ai1:mean</name>
 85    <id>ai1_mean</id>
 86    <description>Arduino mean AI1</description>
 87    <timestamp>2015-01-15 15:30:17.053715</timestamp>
 88    <counter>2</counter>
 89    <units>V</units>
 90    <value>0.0</value>
 91    <raw_value>0.0</raw_value>
 92    <format>%s</format>
 93  </pv>
 94  <pv id="ai2" name="ino:cr:ai2">
 95    <name>ino:cr:ai2</name>
 96    <id>ai2</id>
 97    <description>Arduino AI2</description>
 98    <timestamp>2015-01-15 16:47:54.988769</timestamp>
 99    <counter>1319</counter>
100    <units>V</units>
101    <value>2.64418377322</value>
102    <raw_value>2.64418377322</raw_value>
103    <format>%s</format>
104  </pv>
105  <pv id="ai2_mean" name="ino:cr:ai2:mean">
106    <name>ino:cr:ai2:mean</name>
107    <id>ai2_mean</id>
108    <description>Arduino mean AI2</description>
109    <timestamp>2015-01-15 16:48:35.998230</timestamp>
110    <counter>7020</counter>
111    <units>V</units>
112    <value>2.64418377322</value>
113    <raw_value>2.64418377322</raw_value>
114    <format>%s</format>
115  </pv>
116  <pv id="ai3_mean" name="ino:cr:ai3:mean">
117    <name>ino:cr:ai3:mean</name>
118    <id>ai3_mean</id>
119    <description>Arduino mean AI3</description>
120    <timestamp>2015-01-15 16:48:33.503247</timestamp>
121    <counter>5977</counter>
122    <units>V</units>
123    <value>2.61974584555</value>
124    <raw_value>2.61974584555</raw_value>
125    <format>%s</format>
126  </pv>
127  <pv id="arduino_rate" name="ino:cr:rate">
128    <name>ino:cr:rate</name>
129    <id>arduino_rate</id>
130    <description>Arduino update rate</description>
131    <timestamp>2015-01-15 16:48:36.004167</timestamp>
132    <counter>6214</counter>
133    <units>1/s</units>
134    <value>2142.0</value>
135    <raw_value>2142.0</raw_value>
136    <format>%s</format>
137  </pv>
138  <pv id="engineer" name="prj:ENGINEER">
139    <name>prj:ENGINEER</name>
140    <id>engineer</id>
141    <description>engineer</description>
142    <timestamp>2015-01-15 15:30:16.782947</timestamp>
143    <counter>2</counter>
144    <units></units>
145    <value>engineer</value>
146    <raw_value>engineer</raw_value>
147    <format>%s</format>
148  </pv>
149  <pv id="hostname" name="prj:HOSTNAME">
150    <name>prj:HOSTNAME</name>
151    <id>hostname</id>
152    <description>IOC host name</description>
153    <timestamp>2015-01-15 15:30:16.755911</timestamp>
154    <counter>2</counter>
155    <units></units>
156    <value>gov.aps.anl.gov</value>
157    <raw_value>gov.aps.anl.gov</raw_value>
158    <format>%s</format>
159  </pv>
160  <pv id="motors_alldone" name="prj:alldone">
161    <name>prj:alldone</name>
162    <id>motors_alldone</id>
163    <description>all motors done moving</description>
164    <timestamp>2015-01-15 15:30:16.919038</timestamp>
165    <counter>2</counter>
166    <units></units>
167    <value>1</value>
168    <raw_value>1</raw_value>
169    <format>%s</format>
170  </pv>
171  <pv id="motors_moving" name="prj:moving">
172    <name>prj:moving</name>
173    <id>motors_moving</id>
174    <description>number of motors moving</description>
175    <timestamp>2015-01-15 15:30:16.945825</timestamp>
176    <counter>2</counter>
177    <units></units>
178    <value>0</value>
179    <raw_value>0</raw_value>
180    <format>%s</format>
181  </pv>
182  <pv id="starttod" name="prj:STARTTOD">
183    <name>prj:STARTTOD</name>
184    <id>starttod</id>
185    <description>IOC boot time</description>
186    <timestamp>2015-01-15 15:30:16.701840</timestamp>
187    <counter>2</counter>
188    <units></units>
189    <value>01/12/2015 12:56:08</value>
190    <raw_value>01/12/2015 12:56:08</raw_value>
191    <format>%s</format>
192  </pv>
193  <pv id="tod" name="prj:TOD">
194    <name>prj:TOD</name>
195    <id>tod</id>
196    <description>IOC current time</description>
197    <timestamp>2015-01-15 16:48:35.521618</timestamp>
198    <counter>4701</counter>
199    <units></units>
200    <value>01/15/2015 16:48:35</value>
201    <raw_value>01/15/2015 16:48:35</raw_value>
202    <format>%s</format>
203  </pv>
204  <pv id="uptime" name="prj:UPTIME">
205    <name>prj:UPTIME</name>
206    <id>uptime</id>
207    <description>time IOC running</description>
208    <timestamp>2015-01-15 16:48:35.521851</timestamp>
209    <counter>4701</counter>
210    <units></units>
211    <value>3 days, 03:52:27</value>
212    <raw_value>3 days, 03:52:27</raw_value>
213    <format>%s</format>
214  </pv>
215</pvWebMonitor>

../_images/rawdata.png

Example report of the raw data monitored by an instance of pvWebMonitor.#


(To view an archive copy of this HTML page in your browser, click here –> rawdata.html)