Chapter 10 XML interface
The example above provides three different results for the values of channel 0 compressed over
15 min.:
l
ch0(method=1): Minimum within the compression period
l
ch0(method=2): Maximum within the compression period
l
ch0(method=16;sum_mode=4): Daily total over the compression period
Assumption: The value of channel 0 increases by one per minute.
<Result>
<record stamp="2013-01-25 11:30:00">
<ch0_min>0.0</ch0_min>
<ch0_max>14.0</ch0_max>
<ch0_sum>105.0</ch0_sum>
</record>
<record stamp="2013-01-25 11:45:00">
<ch0_min>15.0</ch0_min>
<ch0_max>29.0</ch0_max>
<ch0_sum>330.0</ch0_sum>
</record><record stamp="2013-01-25 12:00:00">
<ch0_min>30.0</ch0_min>
<ch0_max>44.0</ch0_max>
<ch0_sum>555.0</ch0_sum>
</record>
</Result>
period=...
Period in minutes to which it should be compressed:
Example:
60
hourly data
1440
daily data
10080
weekly data
44640
monthly data
133920 quarterly data
Rev. 01
101