Working with Trends

To open a trend display in the GENESIS64 Workbench :

  1. Click the Home ribbon and click the New trend button in the TrendWorX64 group. This loads a TrendWorX64 Viewer into the Workbench with a tab called New Trend.

  2. Click the File tab, then select Open.

  3. Navigate to and select the project file that contains the trend file.

  4. Click the OK button.

To create, connect (subscribe), modify, or configure trends you can either use the ribbon tab groups or the configurator in the configuration mode. Every command on the ribbon is duplicated in the configurator, so it is much more convenient to configure trends in that central location. In many GENESIS64 applications configurators are based on .NET Framework forms. In TrendWorX64 Viewer the configurator is a multi-tabbed dialog box with a tree control.

 

To open the configurator:

  1. In the Workbench work area, select the trend's tab.

  2. On the TrendWorX64 Viewer Configuration ribbon, click the Configure viewer button in the Configure group. The TrendWorX64 Viewer configurator appears.

TrendWorX64 automatically adds one side panel, one tab, and one chart to the viewer, which display on the left side of the configurator. You can add more side panels, tabs, and charts; and you can include plot objects such as pen groups and pens within charts. You can alter the display of the viewer, tab, chart, or plot objects; but only the pen objects define the connection to an OPC data source (called a subscription).

 

Warning. Not all TrendWorX64 features are supported in Microsoft Silverlight. If you are saving Silverlight files, refer to Silverlight Files in GENESIS64 for more information.

 

The TrendWorX64 Viewer has an object hierarchy that is reflected in the configurator:

To design the Trend Viewer:

  1. Click the TrendWorX Viewer at the top of the tree.

  2. Use the Appearance and Advanced tabs to design it.

To add a tab to the Trend Viewer, then configure the tab:

  1. Right-click the TrendWorX Viewer at the top of the tree.

  2. Hold your cursor over Add, then select Tab. A tab containing one chart is added to the viewer.

  3. To configure the tab, select the tab in the tree control, then use the Appearance and Advanced tabs to design it.

To add a chart object to a tab or to the side panel, then configure the chart:

  1. In the tree, right-click the tab that will contain the chart or click the Side Panel object.

  2. Hold your cursor over Add, then select Chart. A chart is added to the tab.

  3. To configure the chart, refer to Chart Options for Trends.

To add a plot to a chart, then configure the plot:

  1. In the tree, right-click the chart that will contain the plot.

  2. Hold your cursor over Add, then select Plot. A plot is added to the chart.

  3. To configure the plot, refer to Plot Options for Trend Charts.

To add a pen to a plot, then configure the pen:

  1. In the tree, right-click the plot that will contain the pen.

  2. Hold your cursor over Add, then select Pen. A pen is added to the chart.

  3. To configure the pen, refer to Pen Options for Trends.

To add multiple pens to a plot at once, then configure each pen:

  1. In the tree, right-click the plot that will contain the pens.
  2. Hold your cursor over Add, then select Multiple Pens. The Data Browser appears.
  3. Using the Grid panel in the Data Browser, navigate to the trend server that you wish to connect to one of the pens.
  4. Right-click a data source and select Enter up. The pen appears in the Multi Selection panel.
  5. Repeat steps 3 and 4 to add additional pens.
  6. Click the OK button to close the Data Browser. The pens are added to the chart.
  7. To configure each pen, refer to Pen Options for Trends.

To configure the trend data source, do the following:

  1. In the tree control, click the pen that will display the trend.

  2. In the General tab, click the Data Source ellipsis button to open the Data Browser.

  3. Using the Grid panel in the Data Browser, navigate to the OPC UA DA or OPC UA HDA trend server that you wish to connect to the pen.

Note: Historical data is OPC UA HDA data stored in a database for future replay. One source of historical data is the ICONICS TrendWorX64 Logger . Real time data is data being generated from OPC UA DA data sources and polled by the FrameWorX server .

  1. Select the trend server in the Grid panel, then click the OK button to connect the pen to its data source (this is called a point). The pen is added to the chart.

Tip: Paths to the OPC UA point can be defined using global aliases. For more information, refer to Global Aliasing.

Viewing Remote Historical Data Sources

In order to view remote historical data sources you may need to supply the path to the server directly into the Unified Data Browser address bar of a client. The Unified Data Browser does not automatically browse and resolve historical data sources such as OPC UA and OPC-HDA.

 

Warning. Not all TrendWorX64 features are supported in Microsoft Silverlight. If you are saving Silverlight files, refer to Silverlight Files in GENESIS64 for more information.

 

First check to see what current address is specified for your default FrameWorX64 server by doing the following:

  1. Click Start > ICONICS > Tools > FrameWorX64 Server Location. The Default Server Location dialog box appears.  

  2. Note the address to the server so that you can modify it and enter the correct address into your client.

Note: The address is typically similar to the string:

 

http://<localhost>:5010/IcoFwxServer

 

and the modification you make is to substitute your server name in place of the <localhost>.

 

To view a remote historical data source in TrendWorX64 Viewer , do the following:

  1. Click the pen that will connect to the remote historical data source in the TrendWorX64 Viewer configuration dialog box.

  2. In the General tab, click the Advanced configuration button to open the Advanced Configuration dialog box.

  3. Click the Use HDA connection option if it is not already selected. Click OK to close the dialog box.

  4. Click the Data Source ellipsis button to open the Data Browser.

  5. In the address bar, enter the location of your default server in the following form:

http://<localhost>:5010/IcoFwxServer

where <localhost> is replaced by the actual server name or IP address.

  1. Click the OK button to close the Data Browser, then click the Close button to exit the TrendWorX64 Viewer Configurator.

This procedure applies to setting a remote HDA Server in the TrendWorX64 Viewer or to setting the data source to logged Hyper Historian historical data.

 

See also:

Display Options for Trends

TrendWorX64 Viewer

TrendWorX64 Viewer Configurator