method=…
The compression methods can be specified per channel:
1
Minimum within the compression period
2
Maximum within the compression period
4
Average over the compression period
8
Median over the compression period
16
Total over the compression period
Several methods can be used simultaneously. Individual values must be added up for this
purpose. That means that
(ch0(method=1) | ch0(method=2))
is equivalent to
(ch0(method=3))
.
If the compression method "Total" (16) is activated, the summation method
sum_mode=…
must be specified in addition to the
method=…
compression method.
sum_mode=…
1
1/sec (e.g. One channel is recorded in m
3
/s; the total period equals m
3
.)
2
1/min (e.g. One channel is recorded in m
3
/min; the total period equals m
3
.)
3
1/h (e.g. One channel is recorded in m
3
/h; the total period equals m
3
.)
5
1/day (e.g. One channel is recorded in m
3
/day; the total period equals m
3
.)
4
Total of a day counter (day counter means that the counting channel is reset once
per day). The difference between the values (
n
value -
n-1
value) is added up over the
compression period. The reset time of the day counter is taken into consideration
during this process.
6
Total of an interval counter (interval counter means that the counting channel is
reset after every measurement). The values are added up over the compression
period.
10.3.1.3 Updating data fields
A HTTP-GET command can also be used to update the fields of a data record. For this purpose, the
HTTP-GET command must be extended by the relevant field assignment starting with a dollar sign
$
. Any number of fields can be overwritten at once.
Note: The user must have the relevant rights to modify the data (see tbd).
10.3.1.3.1 Example
The following example sets the "Firmware update" to "ON" and the "Firmware type" to "Release
candidate" for all of the devices that are compatible with the myDatalog4 type site.
https://server-URL:8080/geraetid[devclass=2700]?user=u1&password=p1
&$fw_update=1&$fw_release_type=1
102
Rev. 01