L-VIS User Manual
114
LOYTEC
Version 6.2
LOYTEC electronics GmbH
the tick mark spacing is compatible to the spacing on the primary axis and
matches the position of the horizontal grid lines.
NOTE:
Even if the preserve data flag is set, a trend control may still discard the stored data when
it reboots. This is the case when the controls properties were changed such that the new
configuration does not match the stored data anymore, for example because new data
points were added to the control or data points were removed, changing the type and
amount of data recorded. Recorded trend data is also removed from the device, if there is
no control matching the recorded data, which is determined by the UID of the control. That
is, if you remove a trend control from the project and reboot the device, the data which
belonged to the removed control will be deleted from the system.
With a locally recorded data point selected, the following additional options are available:
Draw Minimum:
Enable recording and display of the minimum curve for the
selected data point.
Draw Average:
Enable recording and display of the average curve for the
selected data point.
Draw Maximum:
Enable recording and display of the maximum curve for the
selected data point.
9.5.6.4 Trend Data Access
For every trend control which stores the recorded data in non-volatile memory, a file is
created on the file system of the device which holds the data in binary form. This file is not
intended to be used by the end user. Instead, the recorded data is made available in CSV file
format, in order to ease processing on the PC.
The files may be downloaded from the device using an FTP connection or via SCP protocol
on the SSH port, if the device supports secure connections. Valid user names for the
transfer are either admin or operator. The password must be specified as set on the Web-UI
of the device. The default password for the admin user is
loytec4u
on devices with recent
firmware and
admin
on devices with older firmware. There are two locations to access the
CSV data. One location is intended for access by a human user, the other one is intended
for automated tools:
/data/trend:
This is the location intended for access by a human user. The
file name consists of the object name of the control (as seen on the tree view) and
the unique ID of the control, as displayed on the
General
property page. This
allows the user to easily identify the data file belonging to a certain control on the
device.
/data/uid/trend:
This is the location intended for access by automated
tools. The filename consists only of the unique ID of the control. This allows an
automated tool to easily construct a list of files to access, independent of the
name of the control, which may not be known and which may change.
Example:
A project contains a trend control with
UID 0x122114B1
and name “
Trend 1
”.
The data recorded by this control will be accessible in CSV format under the following file
names on the device:
/data/trend/Trend_1_122114B1.csv
/data/uid/trend/122114B1.csv
Spaces in the object name are replaced by underscores to avoid file names containing
spaces, which may be a problem for some FTP clients.