
12.4.3 Structure of the XML file
12.4.3.1 Changing existing data
If an existing data record has to be changed, the unique identification number of the data record
that is going be changed must be specified as the
id
attribute (e.g.
id ="F000002200000282"
). The
XML file must only include those elements that should be changed. All of the elements that are not
included are not changed. The attributes (
title
,
units
,
calc
, etc.) are not relevant for the data
import and can be omitted.
Note: Formats (comma, date format, etc.) are adopted from the user or server settings.
<?xml version="1.0"?>
<Result>
<mydatalognanoamr_data id="F000002200000282" >
<ch1>0.0000</ch1>
</mydatalognanoamr_data>
</Result>
mydatalognanoamr_data
Not relevant for the data import. However, it is recommended to use the relevant table
identifier.
id
Unique identification number of the data record that is going to be modified
ch1
Value to which the meter reading of channel 1 should be changed
12.4.3.2 Importing data
The
id="0"
attribute must be specified if a new data record is going be created. The time stamp for
the data record can be determined using the
stamp
attribute. It must be ensured that the time
stamp of the data is always in ascending order. The
stamp
attribute can also be omitted. In this
case, the current time is used as the time stamp for the data record. The default values of the
myDataweb server are used for all of the elements that are not specified in the XML file when
creating a new data record. The
tag
element is a mandatory field and specifies the table in which
the data record is saved. The link between the data record and the site (if the data record is saved in
one of the tables assigned to the site) or the device (if the data record is saved in one of the tables
assigned to the device) is specified via the
context
element. This relates to the unique data record
identification number (
id
) of the site or device. The attributes (
title
,
units
,
calc
, etc.) are not
relevant for the data import and can be omitted.
Note: Formats (comma, date format, etc.) are adopted from the user or server settings.
104
Rev. 01
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: ......