Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The platform includes enhancements specifically designed to leverage Canary Historian integration refers to the built-in historian, designed for collecting, storing, and analyzing time-series data from industrial operations. It addresses the need for reliable data historicization, providing a solution for capturing and preserving volumes of operational data. The historian facilitates real-time data acquisition through direct integration with over 70 protocol devices, allowing for data aggregation and historicization. Its functionality enables users to model data with asset tools, visualize trends, and develop custom applications through scripting, enhancing data usability and accessibility, a time-series database that provides high speed performance and friendly configuration tools. This integration includes:

  • Native Solution Historian: Canary Historian embeds in the platform easily as if it were a native tool. Solutions can use it in conjunction with the existing built-in SQL Historian.

  • Free 100 Canary Points: The first 100 Canary Historian points are included free of charge. Upgrade options are available for larger systems.

  • Create Canary Points directly at Designer: No need to use or learn additional tools other than FrameworX Solution Designer.

  • Simplified License Management: Request license upgrades directly from FrameworX.

  • Out of Box TrendChart Monitor: Zero configuration is required; an out-of-the-box TrendChart monitor for Canary Historian tags.

  • Edge Data Collector: Any of the 70+ communication protocols is now a Data Collector for Canary Historian, with Store and Forward support.

  • Canary Driver and TagProvider: Connection with other Canary Historian instances, either mapping to Local Tags or using dynamic referencing, with tunneling features included.

On this page:

Table of Contents
maxLevel3
stylenone


About Canary

Historian Overview

What is the

Why use

Canary Historian?

Canary Historian is a time series database built for industrial automation. It is a high-performance historian . It is designed for real-time data collection, storage, and management. Provides scalability for large databases and supports large volumes of writes and data. It facilitates data analysis and decision-making processes. The system maintains data integrity and prevents loss, making it suitable for applications that require reliable data historicizationlarge-scale applications that handle substantial volumes of data writing. It provides scalability and enables efficient management of high-volume write operations. Its design supports extensive dataset analysis within time contexts for effective trend identification, avoiding the constraints of relational schemas. Canary's architecture balances speed, accuracy, and volume, making it an ideal choice for specialized time series data management needs.

When to use Canary

Historian?

Use Canary Historian in scenarios requiring scalable and efficient time series data management across site or enterprise applications. It is suitable for managing large data volumes that need real-time analysis and when relational databases' limitations challenge data aggregation and trend analysis. Canary Historian meets the needs for speed, accuracy, volume management, and data schema flexibility, catering to industries that need timely and reliable data historicization for informed decision-making.

How to configure Canary Historian?

To configure the Canary Historian, follow these steps:

Historian or the built-in SQL Historian?

Solutions can use both systems concurrently. Performance on SQL storage has increased over the years, but it cannot reach the speed and storage capabilities that a database specifically designed for time-series data, like Canary, can deliver. Use Canary for the tags that require high speed and/or long time retention. Keep those in SQL where the retrieval and storage requirements can be managed with SQL storage.

Tip
titleUsing Multiple Historians

Trend Charts on Displays, Scripts, and all other modules use data abstraction layers, so there are no changes to the remaining configuration of the solution when you decide to modify the configuration of tags from using one historian to another.



Installation

Initial Configuration

Requirements

The software platform should be installed and, where when necessary, licensed.

Licensing Canary Historian

  1. Go to Solution Manager and navigate to 'Your License / License Information / Canary Historian'.
  2. Request a license by clicking 'Request License'. Fill in the 'Name', 'Company', and 'Email' fields to generate the Serial Number, then click 'Request'.
  3. Open the Canary Admin Tool, proceed to 'Home / Licenses', and select 'Local / Add license through the internet'. Enter the required details ('Name', 'Company', 'Serial Number', 'Email', 'Quantity') and check the 'Canary Historian' option. Click 'GET LICENSE'.
  4. Upon receiving the License Key, confirm by clicking 'OK'. To verify the license, navigate to 'Solution Manager / Your License' and refresh the information by clicking the 'Refresh' button. The message should change to "Canary Historian is licensed."
Configuring EndPoints and Access

Canary Admin Tool configuration

Set up the Sender's EndPoints and access the Receiver's EndPoints in the Canary Admin Tool.

Creating Solution and Enabling Canary Historian

  1. In Solution Manager, create a solution (file .dbsln) and open it in the Solution Designer.
  2. Access 'Solution / Settings / Target Platform and License', enable Canary Historian, and select the desired tag range (500, 1500, 5000, 15000, or Unlimited).

Done! The initial configuration is finished!.

Configuration Options

The software platform enables two main options to use a Canary Historian to collect and store data: by using the External TagProviders, which allows external data sources in remote systems direct usage, without needing to define the tags internally in the solution. Or by using a Device where you need to define each ta internally and map them.

  • External TagProvider is strongly recommended for large, complex, and dynamic solutions — especially those in environments prone to frequent changes requiring continuous optimization.

  • Devices are excellent for solutions with well-defined requirements that are unlikely to change. It is ideal for developing prototypes, PoCs, simulations, and static or low-complexity environments, especially when detailed control is crucial.

Configuring by External TagProvider

  1. In Solution Designer, navigate to 'Unified Namespace / External TagProvider'.
  2. Use the '+' button on the Data Grid action bar to open the configuration window for a new External TagProvider.
Info

This integration includes support specifically for Windows, as Canary Labs is a Windows-only integration.



Modules' Connections

Canary Historian can be used in different ways by the various modules.

Historian: Uses Canary as a Storage Location for archiving or retrieving HistorianTags.

Devices: Read and Write to external Canary Historian Server with the Device Module.

TagProvider: Map external Canary Historian Server to dynamic integration of its data and structures. 

Displays and Scripts: No custom configuration is required, TrendCharts will use Canary Historian Data Automatically if available.


Historian Module

Configuring Historian using Canary

  1. At Historian / StorageLocations, include Canary as a StorageLocation. 
  2. At Historian / HistorianTables, define virtual tables will control writing and retrieving data.
  3. Map the tags at Historian / HistorianTags.

Read about the Historian Module.

Device Module

Configuring Devices using Canary.

  1. Navigate to

Configuring by Devices

  1. Choose 'Devices / Channels' and select a protocol (Canary) to create a Channel.
  2. Under Navigate to  'Devices / Nodes', create a Node linked to the that Channel.
  3. Map the tags under at 'Devices / Points'.

Final Historian Configuration

The final part defines which collected data will be stored in the historian.

Historizing collected data

  1. Go to the Historian and select "Tags Historian".
  2. Observe the SQLite database and Tag Providers. Default Historian, labeled as "Historian Canary", should be visible.
  3. Proceed to "Providers" and ensure the primary station configuration aligns with your computer specifications.
  4. Perform a "Test Connection". A success message indicates proper configuration.
  5. Add Tags to the Historian by typing the Tag name and selecting the appropriate Historian table.
  6. Opt for "Tag Provider Canary" and create a new table, for example, "valve table". Save changes.
  7. Ensure that the Tag (e.g., "valve one") utilizes the newly created table. Confirm inputs by pressing enter.
  8. Repeat the process for additional Tags as needed, ensuring all are directed to the Canary Historian.
  9. Utilize root level Tagging to efficiently historize grouped data (e.g., valve pressures and temperatures) without individual entries.

Additional Historian Configuration

There are some additional procedures such as create a new Historian Table or define a new Storage Location.

Historian Table

Storage Location

Configuration of the Canary Historian involves the selection of data sources, mapping tags, and specifying storage parameters, all within the software platform. In use, the historian supports the creation of dynamic, data-driven user interfaces, including HMI/SCADA dashboards and analytical displays, making it indispensable for monitoring, controlling, and optimizing industrial processes.

Optional Configuration

Canary on Linux

Watch the video tutorial

https://docs.tatsoft.com/download/attachments/74656320/Tatsoft_LearningIn5Minutes_ConnectingToCanaryLabsHistorian.mp4?version=1&modificationDate=1664414816000&api=v2

https://www.youtube.com/watch?v=S7wkkfZ0uP4

Read about the Devices Module, or Read about the specific Canary Labs Communication driver.

TagProvider Module

Configuring TagProvider using Canary.

  1. At Unified Namespace / TagProvider Connections, create a connection to a Canary Historian.
  2. At Unified Namespace / AssetTree, add Canary data in the AssetTree. 
  3. Use Canary data in any module using the syntax Asset("<AssetPath>")

Read about Unified Namespaces

→ Read about the specific Canary Labs TagProvider

Displays and Scripts

Displays and Scripts, with no additional configuration, will query Canary Historian when using tags that were previously connected with Canary using the Historian Module.

Examples of the automated usage:

In Displays TendCharts. See TrendChart Control.

In Scripts, using the Historian Tables method to query data. See Historian Runtime Attributes.


CanaryLabs Configuration Procedure

Once you have the CanaryLabs Historiansoftware and the Canary Adminapplication installed, you will need to configure some permissions for the connection to work. 


Admin Configuration

Open the Admin Tab.

Image Added


Under Endpoints, select every checkbox, but do not change the port numbers.

Image Added


Under Access, add the users that will be allowed to access the CanaryAdmin programs.

  • Anonymous
  • System
  • Administrator
  • Interactive
  • Everyone
  • ?Your User?.

Image Added


Under Settings, make sure the checkbox for the Persist Last Connection is selected. 

Image Added


Receiver Configuration

Open the Receiver Tab.

Image Added


Under Endpoints, select every checkbox, but do not change the port numbers.

Image Added


Sender Configuration 

Open the Sender Tab.

Image Added


Under Configuration > Endpoints, select every checkbox, but do not change the port numbers.

Image Added


Under Configuration > Access, add all the users that will be allowed to write in the Canary Historian. E.g.:

  • Anonymous
  • System
  • Administrator
  • Interactive
  • Everyone
  • ?Your User?.

Image Added


Views Configuration

Open the Views Tab.

Image Added


Under Configuration > Endpoints, select every checkbox, but do not change the port numbers.

Image Added


Under Configuration > Access, add all the users that will be allowed to write in Canary Historian. E.g.:

  • Anonymous
  • System
  • Administrator
  • Interactive
  • Everyone
  • ?Your User?.

Image Added


Under Security > Permissions,add the users for the Root path with the ReadWrite AccessType.

Image Added


Under Security > Settings,make sure the Security Enabled checkboxis selected.

Image Added


In this section:

Page Tree
root@parent
spaces93DRAFT

In this section:

Page Tree
root@parent
spaces93DRAFT

Introduction to Canary Labs Info

Built-in Integrated Canary Historian

Includes embedded and integrated Canary Historian, available with version 9.2 and newer

  • Includes free, 500 Canary Historian Tags with any license – Edge to Unlimited.
  • Add Tags to the 500 points (from 1500 to Unlimited!)
  • Unlimited Tag Option w/Framework Unlimited
  • Native Integration to Canary Historian and the Canary System via Tag Provider

Image Removed

Easily Connect to Any Canary Server
Info

Find detailed docs at Tag Provider.

Canary and our company share a common tag definition and asset modeling

In addition to the embedded Canary Historian, we also have a new built-in integration with the Canary System that is easy to use, high speed and extremely secure, as it leverages Canary’s .NET API to connect at the core level, allowing you to publish and consume data and use Canary’s tags and models as well.

There is no need for extra configuration or even to create tags within our framework platform — simply define the server and browse the assets you need!

Node Configuration

The station parameters are:

  • ServerName: The name or IP address of the machine running the CanaryLabs Historian. (If the service is not running in the default port, the syntax should be: ComputerName:PortNumber or IpAddress:PortNumber)
  • ClientID: Indicates the client identification that is used to make calls in the Canary service
  • ConnectionType: Specifies the ConnectionType with the service

               The options are:

    • Anonymous: Connection using no credentials
    • UserName: Connection using a username/password that is defined in CanaryAdmin
    • Windows: Connection using Windows credentials
  • UserName: The user name used for verification (Valid for the Username and Windows connection types)
  • Password: The password used for verification (Valid for the Username and Windows connection types)
  • Views: A list of views found in the specified ServerName. If the view is virtual, the Node will be Read-Only
  • Dataset: The name of the dataset you will connect to. (Not available when the selected view is Virtual)
Info
Always test your connection with a Test Button.
Setup

To setup canary to operate in your FrameworX solution, activate the number of tags for Canary on Solution → Settings menu.

How to Configure

To configure the CanaryLabs protocol as a ExternalTag, navigate to Unified Namespaces  >  ExternalTags Sources  and create a new connection for the CanaryLabs Communication Driver.

Configure the items under the PrimaryStation column the same way that was described in the Node Configuration. To see more details about setup a Canary ExternalTag please see the CanaryLabs TagProvider page.