Data Collectors General
About Historian Data Collectors
The Historian Data Collectors General manual is intended for people who install, use, and maintain data collectors in an Historian archiving system. This manual provides descriptive material and specific operating procedures for performing all common tasks.
Many data collectors exist to 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 File Collector, since it differs from the other types of collectors.
Data Collectors use a specific data acquisition interface matched to the data source type, such as iFIX EDA (Easy Data Access) 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.
Collector Name | Is Toolkit-Based? | Consumes a CAL? |
---|---|---|
iFIX Collector | No | No |
iFIX Alarm Collector | No | No |
Server-to-Server Collector | No | Yes |
Server-to-Server Distributor | No | Yes |
OSI PI Collector | No | No |
Calculation Collector | No | Yes |
OPC UA Data Access (DA) Collector | No | No |
Windows Performance Collector | Yes | Yes |
ODBC Collector | Yes | Yes |
OPC UA Collector | Yes | Yes |
OPC HDA Collector | Yes | Yes |
Wonderware Collector | Yes | Yes |
Cygnet Collector | Yes | Yes |
MQTT Collector | Yes | Yes |
OPC Alarms and Events Collector | No | No |
Simulation Collector | No | No |
File Collector | No | No |
Bi Modal Cloud Data Collectors
In principle, all Historian Data Collectors read data values from a specified source and write them to a Historian Server. Some Historian Data Collectors are Bi-Modal collectors. This means most of the Collectors have the capability to write Time Series data either to GE Historian Server or to a Predix Time Series Service on Cloud.
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.
Most, if not all, 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 Time Series service. Following table explains the key differences.
Functionality | Destination - Historian | Destination - Predix Time Series Service |
---|---|---|
HISTORIANNODENAME registry key | Contains the destination Historian Servers 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 |
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. Collector must be restarted after updating the offline XML file or once tags are modified via Historian Administrator when using proxy historian server. |
Data Type support | All standard data types are supported. | All other data types, excepting arrays, enums and User defined types (UDT), BLOB, are supported. |
- OPC DA Collector
- OPC HDA Collector
- OPC UA DA Collector (Windows and Linux)
- OSI PI Collector
- Server-to-Server Collector (S2S/S2C)
- Wonderware Collector
- Cygnet Collector
Data Collector Software 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 Name | 32-bit | 64-bit |
---|---|---|
Calculation Collector | Y | Y |
Cygnet Collector | N | Y |
File Collector | Y | Y |
iFIX Alarm Collector | Y | Y |
iFix Collector | Y | Y |
OPC Alarm Collector | Y | Y |
OPC DA Collector | Y | Y |
OPC HDA Collector | N | Y |
OPC UA DA Collector | N | Y |
OSI PI (API / SDK) | Y | Y |
OSI PI Distributor Collector | Y | Y |
Server-to-Server Collector | Y | Y |
Server-to-Server Distributor | Y | Y |
Simulation Collector | Y | Y |
Windows Performance Collector | Y | Y |
Wonderware Collector | N | Y |
Data Collector 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
- 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 the 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
Data Collector | Data Acquisition Interface |
---|---|
iFIX Data Collector | EDA data acquisition interface |
Machine Edition View Data Collector | Point Management API Interface |
OPC Data Collector | OPC data acquisition interface |
OPC Alarm and Event Collector | OPC Alarm and Event server |
File Data Collector | CSV or XML file import |
Simulation Data Collector | Random pattern of data |
Calculation Collector | Calculations performed on data already in the server |
Server-to-Server Collector | Data and messages collected from one Historian Server (source) to another Historian Server (destination) |
OPC UA Data Access (DA) Collector | OPC Data Acquisition interface for Microsoft Windows |
Wonderware Data Collector | SQL Server ODBC Driver Interface |
Best Practices for Working with Data Collectors
- 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.
Collector Name | Is Toolkit-Based? | Consumes a CAL? |
---|---|---|
iFIX Collector | No | No |
iFIX Alarm Collector | No | |
Server-to-Server Collector | No | Yes |
Server-to-Server Distributor | No | Yes |
OSI PI Collector | No | |
Calculation Collector | No | Yes |
OPC UA Data Access (DA) Collector | No | No |
Windows Performance Collector | Yes | Yes |
ODBC Collector | Yes | Yes |
OPC UA Collector | Yes | Yes |
OPC HDA Collector | Yes | Yes |
Wonderware Collector | Yes | Yes |
Cygnet Collector | Yes | Yes |
MQTT Collector | Yes | Yes |
OPC Alarms and Events Collector | No | No |
Simulation Collector | No | No |
File Collector | No | No |