L-VIS User Manual
172
LOYTEC
Version 6.2
LOYTEC electronics GmbH
A $ sign, followed by the number of the base path of the parent template which was chosen
as the basis for the relative path ($1 to $4), followed by the actual path (in parenthesis)
which is currently set at this location. Since a template may have up to four different base
paths, it is necessary to know to which one of them the sub template path is relative.
NOTE:
In case the base paths of the template are changed, the relative paths of all sub template
instances are re-evaluated and adjusted for the best match based on the new set of base
paths available. Also, if a base path of a sub template instance is changed, a new relative
path will be calculated based on the available base paths of the parent template and the
selected data point folder.
9.15.6 Nested Base Paths
In special cases, it may be required for the template to operate on a basic set of data points,
for example folder A/B which can be replaced by X/Y in another instance of the template,
but at the same time use data points from A/B/C which should be replaced by X/Y/Z in the
instance, instead of X/Y/C, which would be the normal result of replacing A/B with X/Y.
Consider the following example of base paths for a template:
1.
Room1/Sunblinds
2.
Room1/Sunblinds/East
The template needs to use general data points regarding the sun blinds of a certain room.
These data points are located in a folder called
Sunblinds
which is available for each
room, so this folder needs to be one of the template base paths (1). However, the template
itself uses a nested template instance to handle display of a certain blind in the room, for
example the one facing east. The sub template needs a base path to the data points of a
specific blind, in this example located in
Room1/Sunblinds/East
.
To instantiate this template to display the status of the sunblind facing
west
in room
4
, two
base paths need to be reassigned. The one for the general sunblind data related to the room,
and the one for a specific sunblind. Therefore the folder containing the specific sunblind
data needs to be listed as a separate base path (2), even though it is a sub folder of the more
general base path. For the above example, the following base paths can be used:
1.
Room4/Sunblinds
2.
Room4/Sunblinds/West
Without the separate base path (2), only the room could be remapped and the resulting
template instance would always show data for the east blind of the specified room.
To allow this configuration to work as expected, each of the data points used in the
template is assigned to the most specific base path. This ensures that all generic sunblind
data points related to a room are assigned to base path 1, while data points related to a
specific sunblind are assigned to base path 2, even though they would also be covered by
base path 1.
NOTE:
Prior to version 5.0.0 of the configuration software, this setup was not allowed. However,
using configuration software 5.0.0 or newer, such a setup is supported and can be used
even with devices running older firmware.
9.15.7 Local Changes
Once a template is instantiated, it is often required to make some minor adjustments to the
appearance of the template instance to distinguish it from other instances of the same
template. The most important adjustment is the display offset, which allows the same
template to be instantiated on the same page multiple times at different locations. However,