Example for displaying of selected variables in the trend viewer
The example shows how to select any trend data in a technological panel and then display the data in the trend viewer.
- This example is not functional for the Web.
- Located in the Pma object tree: /Examples/Trends/Technol.
The trended values are emulated in the
Trend object (object of the
PmaTrendGroup type) in the
Common object (object of the
PmaFolder type).
In the
PmgButton object (One-state button) named "
Trend" there is a list of selected
Pmg objects names. The list matches the names of trended variables in the
Trend object. The list is transferred to the
PanelTrend panel where in the
onStart event of the
PmgTrendViewer object processes the connection to corresponding trended variables and displays the trends.