- 05 Jul 2024
- 2 Minutes to read
- Print
- PDF
Configuration
- Updated on 05 Jul 2024
- 2 Minutes to read
- Print
- PDF
Note:
Before starting configuration, a new module instance must be created. Click here for more information about creating Module instances.
Each module has an API and Logger section that need to be configured separately. The default settings will be sufficient for this, but users will need to actively open the API and Logger configuration settings and save the default values to fully apply the settings. Click here for more information about API and Logger Configuration.
Note:
Please note that starting from N3uron version 1.21.5, the API section has been completely removed from the configuration options.
Module Configuration
The Derived Tags N3uron module offers the following configuration options:
S&F resume delay: Wait time displayed in milliseconds before unpausing the tag after all required links are re-established. This is used to allow the node to receive S&F events before resuming calculation. The default value is 1,000 milliseconds.
Aggregated Tags: This section only contains options affecting Aggregated Tags.
Aggregation delay: Specifies the delay between starting an aggregation and when the aggregated period has lapsed. This option is used to wait for the last sample from a remote link, in case it has suffered a delay due to connection issues. The minimum value is set to 0 milliseconds, which automatically disables this mechanism and prompts aggregations to re-start as soon as possible.
Maximum buffer size: Specifies how many tag events to hold in the buffer for each aggregated tag. If the buffer hits its capacity, the oldest values are discarded. The minimum value is 10 events.
Expression Tags: This section only contains options affecting Expression Tags.
Periodic delay: Specifies the delay for executing periodic expressions, displayed in milliseconds. This option can be used to allow events from remote nodes to propagate correctly to the main node. This setting only affects tags set to “Periodic” in Trigger.
Global Variables
The name given to each global variable after creation will be the name used to access it at a later time. After creating a variable, the following configuration should be applied:
Type: Determines the variable type. Valid types are:
Number: Holds a double precision floating point number.
String: Holds a string
Boolean: Holds a Boolean value.
Array: Holds an array of variables (any type, including mixing different types).
Object: Holds a key-value pair collection of variables.
Value: Sets the initial value of the variable. This value can be changed via code, although this will only affect the value of the variable when the module is started. Arrays and Object variables cannot be given an initial value (they will always start with an empty value).