![DATA FROM SKY TrafficXRoads Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/data-from-sky/trafficxroads/trafficxroads_manual_3605139028.webp)
TrafficXRoads: Guide
page 27
The rule for turning the relay ON/OFF is defined as an expression where you can refer to
different widgets that are in the dashboard. These need to be simple value or statistical
value type widgets. If you want the relay to be triggered based on the object presence in
a zone you first need to propagate it from the analytics into the Dashboard for example
by using Simple value widget and then you will be able to use the widget value as a
variable in the expression for controlling the relay. The interface for difining the
expression can be accessed by clicking on the
Define an Expression
button next to the
Output definition.
In the expression definition the widgets from individual defined analytics will be
atomatically made available for the use. By clicking on the name of the widget you add it
into the expression. The expression widget has full Javascript language support, so it is