L-INX User Manual
277
LOYTEC
Version 4.0
LOYTEC electronics GmbH
13 Operating Interfaces
13.1 Common Interface
13.1.1 Schedule and Calendar XML Files
The daily schedule and calendar pattern configuration can be changed at run-time over the
Web UI or the network. An alternative way to change that configuration is to download a
schedule and calendar XML file via FTP onto the device. After the file has been
downloaded, the new configuration becomes effective immediately. The device does not
need to be rebooted. The files are located in
/tmp/uid/sched/
UID
.xml
/tmp/uid/cal/
UID
.xml
The
UID
is the unique ID of the data point. The UID can be obtained from the ID column in
the data point list as shown in Figure 148. A schedule data point with UID 107C would
result in the schedule XML file ‗
/tmp/uid/sched/107C.xml
‘. The UID remains
constant for the life time of the data point even when the name or description is changed.
The content of the XML file must be compliant to the scheduleCfg schema. This schema
can be found at the LOYTEC Web site. The XML documents can refer to the target
namespace
http://www.loytec.com/xsd/scheduleCfg/1.0/
13.1.2 Trend Log CSV File
The CSV file format for a trend log and the location of those files are defined in this
section. The trend log CSV files are accessible either via their UID only, or in combination
with contents of the trend log object name. The files are located in
/tmp/uid/trend/
UID
.csv
/data/trend/
Datapointname
_
UID
.csv
The
UID
is the unique ID of the data point. The UID can be obtained from the ID column in
the data point list as shown in Figure 148. For a more user-friendly listing of the files, the
Datapointname
contains the trend log‘s object name. It is truncated after 23 ASCII
characters to fit the requirements of the file system. A trend CSV file for the trend object
‗trend0‘
and
the
UID
‗107C‘
would
result
in
the
CSV
file
‗
/data/trend/trend0_107C.csv
‘. The UID remains constant for the life time of
the object even when the name is changed.
The CSV file format for a trend log is defined in this section. The CSV file starts with a
header, containing at least the first line, which specifies the CSV format (log_csv_ver). The
current version is 2. The next line contains the field log_device. It has trailing fields that
specify the vendor, product code, firmware version and device ID string. The Device ID
String can be one of the following: (IP) 192.168.24.100, (BACnet Device) 224100, (CEA-
709 NID) NID.