
10.4 XML import
The XML import is designed to import the data generated or changed via the user interface, created
by the customer, back into the myDatanet server.
l
Only existing measurement data and settings can be changed or new measurement data can
be added. No historical measurement data can be added.
l
It must be ensured that the
stamp
of the data records is always created in ascending order.
Errors can occur if this is not the case.
l
If any settings are changed, it must be ensured that the
stamp
is set to the current date/time.
Otherwise the data are not synchronised with the device.
l
When creating measurement data, the
id="0"
and
<tag>00002700</tag>
(27 representing the
device class) must always be specified.
l
<tag>0</tag>
must always be specified during the deleting process. Historical data (e.g.
measurement data) cannot be deleted.
10.4.1 Transferring data to the myDatanet server
A HTTP post command can be used to transfer a XML file to be imported by the myDatanet server.
A HTTP POST command can, for example, be executed with the freely available "Wget" command
line tool (http://www.gnu.org/software/wget/).
10.4.2 Configuration of a HTTP-POST command
Important note: The transmission of XML files to the server is completed via the HTTP server
(standard port 80) and not the xPath server (standard port 8080).
The HTTP-POST command is made up of the following:
http://{IP-Adresse}[:{Port}]/send.xml?directlogin={login}
The XML file must be transferred with this POST command. The configuration of these is described
in the chapter "Structure of the XML file" on page 107.
106
Rev. 01
Содержание myDatalog4
Страница 2: ......
Страница 9: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 9 ...
Страница 10: ......
Страница 52: ......
Страница 56: ......
Страница 110: ......
Страница 126: ......
Страница 128: ......
Страница 141: ...Chapter 15 Document history Chapter 15 Document history Rev Date Changes 01 08 07 2014 First version Rev 01 141 ...
Страница 142: ......
Страница 144: ......