TrendWorX64

TrendWorX64 is a client/server application that allows you to collect and display real-time and historical OPC data in charts and graphs that reflect live data or historical data that is being replayed. Based on the OPC UA specification for data exchange between OPC servers and clients, TrendWorX64 provides backwards compatibility to the older standards of OPC-HDA (Historical Data Access) and OPC-DA (Data Access) servers. With TrendWorX64 you can create open solutions that are highly scalable, distributed, and redundant and that can connect with a wide variety of data sources.

With TrendWorX64 you can perform the following operations:

  • Collect and log OPC data in a SQL server database such as Microsoft SQL Server, SQL Server Express, or an Oracle Database for later analysis using the TrendWorX64 Logger.

  • Connect and analyze real-time OPC data sources and analyze trends in real-time using the TrendWorX64 Viewer.

  • Display trending data in several different plot types including: line, area, bar, pie, and other plot types inside the TrendWorX64 Viewer . For an example, Closedclick here.

    Line Chart of an Arm Rotation

  • Insert the TrendWorX64 Viewer into GraphWorX64 to create multifunction HMI (Human/Machine Interface) graphics data displays.

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.

TrendWorX64 System Architecture

TrendWorX64 uses a multi-tiered client server architecture that with three main architectural layers:

  • Presentation Layer or Client Layer. The client TrendWorX64 Viewer connects to the FrameWorX server to obtain data that has been processed from the different data sources. TrendWorX64 Viewer is the client application that is the consumer of trending data and this application displays data in a .NET control.

  • Application Layer or Logic Layer. The FrameWorX server manages the data connection between the different data sources to supply either real-time or historical OPC data to the TrendWorX64 Viewer .

  • Data Layer . The data layer contains the different types of OPC servers that TrendWorX64 supports, including OPC UA for both data access and historical data as well as OPC-DA and OPC-HDA data sources. The OPC UA Server serves as the source of tags and their values. The trend server could be an ICONICS OPC UA server, a simulator, or a third party OPC UA compliant server product. The data layer also includes a system for recording and storing trending data into a SQL database. The TrendWorX64 Logger is a server application that reads OPC data and stores it in a SQL database for later use. Data stored in the SQL server database is read by an OPC UA historical database server or an OPC-HDA server and is supplied to the FrameWorX server when required. ClosedTrendWorX Architecture illustrates the relationship of the various components in the TrendWorX64 system.

    TrendWorX Architecture

Note: The TrendWorX64 Server can be any OPC UA server and so is written in the form TrendWorX64 server with a lower case "s." This contrasts with the situation of AlarmWorX64 where the AlarmWorX64 Server is an ICONICS application and whose configuration is described in AlarmWorX64 Server .

Trending Setup Overview

In order to successfully monitor and display trending information you will need to have access to your data source, configure the data connection, and create your plot or chart type. Use the list below to ensure that you have performed the necessary steps required for successful data trend analysis. In most cases the exact order that you perform these steps is not crucial.

To configure a trend display, perform the following actions on the server side:

  1. Ensure that the ICONICS FrameWorX server is running. You should see an icon for this service in the Windows Taskbar Status area.

  2. Open the TrendWorX64 Logger in the GENESIS64 Workbench and in Configuration mode configure or create a Database Group to configure the SQL server that you will use to store logged data for historical data analysis. GENESIS64 creates a default database, but you can change its configuration or substitute a different database, as required.

  3. In the logger in configure mode, create or use a Logging Group and set the data collection properties such as data collection rate, start and stop times, triggers for logging collected data into a database, and table management features.

  4. Continuing in the logger's Configuration mode, use or create the individual tags that will be logged in the ClosedLogging Group by adding Tag objects and assign them to a data source.

    TrendWorX Logger Adding a Tag

  5. Click the Apply button in the TrendWorX64 Logger to enforce your selections. The logger begins collecting data using your settings.

  6. Check the logger's ribbon to see that the logging Traffic Light icon has changed from red to green, which indicates that logging is taking place.

On the client side, you need to perform the following operations to create a trend display:

  1. Open TrendWorX64 Viewer.

  2. In the Configure group on the TrendWorX64 Viewer Configuration ribbon, click the Closedconfigure viewer button. The ClosedTrendWorX64 Viewer configurator appears.

    Configuring a Trend Display Using the TrendWorX Viewer Configurator Dialog Box

  3. Add tabs, charts, plots, and pens to the viewer by following the guidelines in Working With Trends. A viewer can have any number of tabs, a tab can have any number of charts, and a chart can have any number of pens.

  4. Set the data source for those pens in the ClosedData Browser by following the guidelines in the General tab section of Pen Options for Trends. For historical data access set the pen's data source in the TrendWorX64 Viewer to an OPC UA HDA historical OPC data access server, or for real-time data access set the pen's data source in the TrendWorX64 Viewer to an OPC UA DA real-time OPC data source.

    Setting a Data Source for Pens

  5. Click the OK button, then the Closebutton to enforce your selections, and click the Runtime button to view your Closedtrending data in the chart.

    TrendWorX Viewer Chart in Runtime Mode

See also:

TrendWorX64 Viewer

TrendWorX64 Logger