Chapter 12 XML interface
context
Unique data record number of the site (read only)
ch1_set - ch4_set
Provided to set the meter reading of measurement channel x to a certain value. This field is
reset by the myDataweb server once the value has been adopted.
Important note: Please note that this setting affects the meter readings within the
device. This means that the meter reading will only be reset and the content of the field
will only be deleted during the next connection of the myDatalogNANOamr with the
myDataweb server. It is therefore advisable to only reset the counters when the
myDatalogNANOamr is online (is in ALOHA transmission mode).
12.3 XML export
12.3.1 Configuration of a HTTP-GET command
A request is executed by means of a HTTP-GET command that corresponds to simply entering the
command in the address line of a standard internet browser. The command line (URL) is assembled
as follows and provides an XML document as a result:
https://{IP address}:{Port}/{XPath Query}?{login}{settings}{update}
Parameter
Explanation
{IP-Address}
Address of the server on which the xPath module operates (myDataweb server)
{Port}
Port on which the xPath server operates. The standard setting is 8080.
{xPath Query}
xPath of the required XML table (e.g. "Structure of the database" on page 75).
A description of the syntax is provided in "Syntax of the xPath query" on page
94.
{login}
User name and password of a user account created on the myDataweb server
to authenticate the request (e.g.
user=u1&password=p1
).
{settings}
OPTIONAL
Settings relating to the output format of the request. There is only one
possible parameter. It deactivates the display of the field attributes:
attributes=off
Settings relating to the output of the data. There is only one possible
parameter. It specifies the data compression period:
period=...
(see "Data
record compression" on page 99)
{update}
OPTIONAL
Update of data fields in the query result (e.g.
&$field01=33
) (see "Updating
Rev. 01
93
Summary of Contents for myDatalogNANOamr
Page 2: ......
Page 9: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 9 ...
Page 10: ......
Page 12: ......
Page 20: ......
Page 40: ......
Page 56: ...9 2 2 4 GPRS SIM tariff Selected SIM tariff 56 Rev 01 ...
Page 64: ......
Page 106: ......
Page 112: ......
Page 122: ......
Page 124: ......