Data Collectors Overview

About Historian Data Collectors

Many data collectors bring data into the Historian server, as listed in Supported Windows Versions for Historian Collectors.

Since installation, maintenance, and troubleshooting from a Historian perspective are essentially the same for all collectors other than the File collector, this chapter summarizes the characteristics of each and highlights their differences. It also provides a detailed description for the File collector, since it differs from the other types of collectors.

A data collector gathers data from a data source on a schedule or event basis, processes it, and forwards it to the Historian server for archiving. The following image shows the data flow in a typical Historian system from a data source to the archive.

Data collectors use a specific data acquisition interface that match the data source type, such as iFIX Easy Data Access (EDA) or OPC 1.0 or 2.0 (Object Linking and Embedding for Process Control). For more information, see Supported Acquisition Interfaces. The Simulation collector generates random numeric and string data. The File collector reads data from text files.

The following table provides information on whether each collector is toolkit-based and whether is consumes a CAL.
Collector Name Is Toolkit-Based? Consumes a CAL?
The Calculation collector No Yes
The Cygnet collector Yes Yes
The File collector No No
The iFIX Alarms and Events collector collector No No
The iFIX collector No No
The MQTT collector Yes Yes
The ODBC collector Yes Yes
The OPC Classic Alarms and Events collector No No
The OPC Classic HDA collector Yes Yes
The OPC UA DA collector Yes Yes
Th OPC UA Data Access (DA) collector No No
The OSI PI collector No No
The Server-to-Server collector No Yes
The Server-to-Server distributor No Yes
The Simulation collector No No
The Windows Performance collector Yes Yes
The Wonderware collector Yes Yes
Limitations:
  • When failover occurs from a primary collector to a secondary collector (or vice versa), there will be some data loss as the collector tries to connect to the source to fetch the data.

Bi-Modal Cloud Data Collectors

The Historian data collectors can send data to an on-premises Historian server as well as cloud destinations such as Google Cloud, Azure IoT Hub, AWS Cloud, and Predix Cloud. Therefore, these collectors are called bi-modal collectors. The following collectors, however, are not bi-modal collectors; they can send data only to an on-premises Historian server:
  • The File collector
  • The Calculation collector
  • The Server-to-Server distributor
  • The OSI PI Distributor
  • The OPC Classic Alarms and Events collector
  • The iFIX Alarms and Events collector

The Predix cloud destination (via a secure Web socket) supports APM, Automation, or Brilliant Manufacturing Cloud subscription. The Collector Toolkit is updated as well. Hence, a custom collector created using the toolkit has the same capabilities.

The Bi-modal connectivity can be done by changing the Collector???s destination configuration either as Historian or Time Series at the time of collector installation. The configuration/installation pages would vary based on the selection.
Note: Bi-modal Collectors support up to Transport Layer Security (TLS) 1.2.

All the features available in the Historian Data Collectors are applicable to cloud collectors. The features such as tag configuration, store and forward, compression, recalculation are all available in cloud collectors if same functionality is available in the same data collector sending data to Historian. See Historian Data Collectors for additional information.

There are a few differences in the working of a Bi-Modal collector based on whether the destination is Historian or cloud. Following table explains the key differences.

Functionality Destination - Historian Destination - Cloud
HISTORIANNODENAME registry key Contains the destination Historian Server???s name/ IP Address.

Contains the cloud destination settings as well as proxy historian server name or IP if applicable (configServer).

Cloud destination format:
CloudDestinationAddress|configServer|IdentityIssuer|ClientID|
ClientSecret|ZoneID|Proxy|proxyUser|proxyPassword

Mapping Source Tags

with Destination Tags

(Add Tags)

You must map tags in Historian Server to Data Source tags using one of the Admin tools (VB Admin/Web Admin). The data gets stored in IHA files and the Tag configurations are stored in IHC files.

As it is not possible to map tags in the Cloud with tags in the Data Source, user must select if mapping should be done through Historian (works as a proxy) or through Offline Configuration File at the time of installation.

If the user selects Historian, then tags will be created in the Cloud which in turn may have been mapped through one of the Admin tools (VB Admin/Web Admin).

If Offline Configuration File is selected, the user must provide an XML configuration file containing tag configurations that need to be created in the Cloud for mapping them with the Source tags.

Other Tag Management Operations such as Delete, Rename, Data cleaning It is possible to do all tag management operations. No tag management operations are allowed. After you update the offline tag configuration file, or after you specify the tags using Historian Administrator, the changes are reflected automatically (without the need to restart the collector).
Data Type support All standard data types are supported. All other data types, excepting arrays, enums and User defined types (UDT), BLOB, are supported.

Data Collector Software Components

Data Collector software consists of four main components:
  • Data Collector Program

    Executable data collection program for the type of collector. For example, ihFileCollector.exe.

  • Local Tag Cache

    Cache of configuration information that permits the collector to perform collection even when the archiver is not present at start-up (*.cfg).

  • Local Outgoing Data Buffer

    Buffer of the data sent to the server that the server has not yet confirmed receiving.

  • Historian API

    Interface that connects the collector to the Historian Server for configuration, data flow, and control functions.

Supported Windows versions for Data Collectors

The following table displays the supported Windows processor versions (32-bit or 64-bit) for the Historian data collectors.

Collector Name32-bit64-bit
The Calculation collectorYesYes
The Cygnet collectorNoYes
The File collector YesYes
The iFIX Alarms and Events collector collectorYesYes
The iFIX collector Yes Yes
The OPC Classic Alarms and Events collector Yes Yes
The OPC DA collector Yes Yes
The OPC Classic HDA collectorNo Yes
The OPC UA Data Access (DA) collectorNo Yes
The OSI PI collector (API / SDK)Yes Yes
The OSI PI distributor Yes Yes
The Server-to-Server collectorYesYes
The Server-to-Server distributorYesYes
The Simulation collectorYesYes
The Windows Performance collector Yes Yes
The Wonderware collectorNo Yes
The ODBC collector No Yes
The MQTT collector NoYes

Data Collector Functions

A Historian Data Collector performs the following functions:
  • Connects to the data source using a specific data acquisition interface, such as EDA, OPC 1.0, or OPC2.0.
  • Groups tags by collection interval for efficient polling.
  • Reads data as frequently as 10 times/sec, depending on the configuration parameters of individual tags. An OPC Collector configured for unsolicited collection can read data as frequently as 1 millisecond (or 1000 times/second).
  • Scales the collected value to the EGU Range.
  • Compresses collected data based on a deadband specified on a tag by tag basis, and forwards only values that exceed the deadband to the Historian Server for final compression and archiving.
  • Automatically stores data during a loss of connection to the server and forwards that data to the server after the connection is restored.

Common Collector Functions

Each collector performs some functions common to all types of collectors (except the File collector). These functions are:
  • Maintains a local cache of tag information to sustain collection while the server connection is down.
  • Automatically discovers available tags from a data source and presents them to Historian Administrator.
  • Buffers data during loss of connection to the server and forwards it to the server when the connection is restored.
  • Automatically adjusts timestamps, if enabled, for synchronizing collector and archiver timestamps.
  • Supports both collector and device timestamping, where applicable.
  • Schedules data polling for polled collection.
  • Performs first level of data compression (collector compression).
  • Responds to control requests, such as pause/resume collection.

After collecting and processing information, a collector forwards the data to the Historian Server, which optionally performs final compression and stores the information in the Archive Database. The Archive Database consists of one or more files, each of which contains a specific time period of historical data. For more information on Historian Server architecture, refer to Historian System Architecture.

File collector Functions

The File collector imports files in either CSV (Comma Separated Variables) or XML (Extensible Markup Language) format. Since this is basically a file transfer operation, a File collector does not perform the typical collector functions of data polling, browsing for tags, pause/resume collection, data compression, or storing/forwarding of data on loss of server connection. A File collector, however, is an extremely useful tool for importing and configuring tags, for bulk updating of tag parameters and messages, and for importing data from all types of systems.

Supported Acquisition Interfaces

This section provides a list of specific Data Collectors and the associated Data Acquisition Interfaces (protocols or ways in which data is input).
Data CollectorData Acquisition Interface
iFIX Data CollectorEDA data acquisition interface
Machine Edition View Data CollectorPoint Management API Interface
OPC Data CollectorOPC data acquisition interface
OPC Classic Alarms and Events collectorThe OPC Alarms and Events server
File Data CollectorCSV or XML file import
Simulation Data CollectorRandom pattern of data
Calculation collectorCalculations performed on data already in the server
Server-to-Server CollectorData and messages collected from one Historian Server (source) to another Historian Server (destination)
OPC UA Data Access (DA) collectorOPC Data Acquisition interface for Microsoft Windows
Wonderware Data CollectorSQL Server ODBC Driver Interface
Cygnet collectorSQL Server ODBC Driver Interface
ODBC collectorSQL Server ODBC Driver Interface

Best Practices for Working with Data Collectors

Here are some best practices that enable the collectors collect and store the most accurate data:
  • Synchronize the Windows clock for the following computers:
    • Source Data Archiver of a Server-to-Server Collector
    • Computer on which the Data Collector is running
    • Destination Data Archiver
  • Turn on the Data Recovery Mode option for Historical Collectors such as Server-to-Server and Calculation collectors. This ensures that most gaps in data collection due to the unavailability of source Archiver or in the case of collector not running are automatically filled in the next time the collector runs.
  • If you are using polled collection with Calculation or Server-to-Server Collector, ensure that you have at least one uncompressed polled tag so that the polled data is frequently sent to the destination Archiver. This ensures that the bad data marker sent when a collector shuts down has an accurate time stamp that reflects the time of shutdown of the collector.