Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Instead of the timeNavigatorRelativePeriod element, it is also possible to configure the relative view period using the timeNavigatorRelativePeriodVariables element. Using this element a list of variableId's have to be specified that refer to variables defined in the scada display configuration. For each specified variable the relative view period of the timeseriesset is determined and will be joined together into a relative view period that includes all previous periods. The resulting calculated period will be used for the time navigator toolbar. This period is always relative to the current system time, similar to the timeNavigatorRelativePeriod. A typical configuration might look as follows:<timeNavigatorRelativePeriodVariables>
     <variableId>variableId1</variableId>
     <variableId>variableId2</variableId>

Code Block
xml
xml
<timeNavigatorRelativePeriodVariables>
     <variableId>variableId1</variableId>
     <variableId>variableId2</variableId> 
</timeNavigatorRelativePeriodVariables>

Suppose variableId1 has the following relative view period: <relativeViewPeriod start="-1" end="6" unit="day"/> 

And variableId2 has the following relative view period: <relativeViewPeriod start="-2" end="5" unit="day"/>

The resulting relative view period used by the time navigator toolbar will be: <relativeViewPeriod start="-2" end="6" unit="day"/>

...