Introduction
- 10 Jul 2023
- 1 Minute to read
- Print
- PDF
Introduction
- Updated on 10 Jul 2023
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Derived Tags enables custom logic, advanced calculations, and data aggregation for operational data analysis at the Edge. For instance, Derived Tags allows for new tags to be obtained and calculated from other tags, a trigger to be set based on logical states, values to be aggregated over a defined period of time, and in general, permits virtually any JavaScript code to be executed, even when accessing standard NodeJS libraries like os, process, moment, and sprintf.
The available types for tags whose source is a Derived Tags module instance are shown in the following table:
Type | Description |
Aggregated Tag | Provides easy-to-use predefined functions to obtain the average, minimum, maximum, first, last value, etc of a tag over a defined time. It also provides the total number of events and the ratio of good quality events received during the interval. No complex code is required. |
Expression Tag | Allows users to manipulate the value, quality, or timestamp of tags using JavaScript scripting in order to perform calculations and logic involving one or more raw tags, enabling the possibility of incorporating complex analysis closer to the source. |
Alias Tag | Useful for creating a replica of another tag without any coding. |
Redundant Tag | Used to create tags with several inputs acting as redundant sources. |
Node Tag | Intended to provide information about the node, links and modules. |
Was this article helpful?