Expression
The Expressions processor is used to create a mathematical-like expression with your desired topic. You can enter a formula to convert temperature from Celsius to Fahrenheit, or a custom formula for furnace pressure.
- This function is useful if you want to do some sort of mathematical expression on the input(s).
- If multiple inputs are used, it is advisable to use values-type connections.
- To make this processor work, you must define the connection of the input tag(s) as a variable-name (lets say “A”), and then use that in the mathematical expression, such as sin(A_value) or A_value*100.
- If multiple inputs are needed, you must define each connection with a variable and use that in the expression. For example, “A_value + B_value”. Example: (Celsius_value * 9/5) + 32 x_value +2 x_downtime *5
Parameters | Details |
---|---|
Expression | The Expression parameter allows you to enter a mathematical expression that can involve variables defined by the input tags and perform operations such as addition, subtraction, multiplication, and division. |
Output Field Name | The Output Field Name parameter lets you specify the field name that should appear in the output after the expression is evaluated. |
Timer Interval | The Timer Interval parameter allows you to set the timer in milliseconds. If there's no event triggering the expression, you can use this timer to continuously display the output. Setting the value to zero will disable the timer. |
Pass Through Value | The Pass Through Value parameter enables you to specify how anomalous data should be handled. |
Note: When creating an analytics flow with Expression processor, refer the Use the Expression Processor Function guide for more details.