Defining trend interaction
- Last UpdatedDec 04, 2023
- 1 minute read
Trends opening are usually connected to User actions, such as for inspecting.
Code example
In this example, the gauge trend user action is bound to trend show/hide and the trend mode user action is bound to the .autoscale field. This is a common setup.
<route from="PG0800_001.action\trend\state" to="TREND_PG0800_001.visible" value="[?!@TREND_PG0800_001.visible@]" condition="@PG0800_001action\trend\state@==started"/>
<route from="TREND_PG0800_001.action\mode\state" to="TREND_PG0800_001.autoscale" condition="@TREND_PG0800_001.action\mode\state@==started" value="[?!@TREND_PG0800_001.autoscale@]" />