A raw calculation executes a one on one mapping for each value, mapping the old value to the new value. For a raw calculation a script runs for every newly available value of the given input data reference.
Raw calculation settings
Input data reference
-
Alias
: An alias for the input data reference which must be used in the script to address the input reference. Aliases are automatically generated by the system in alphabetical order and must be preceded by an underscore (_
). The preceding underscore is automatically provided and thus fixed, yet the name of the alias can be changed as desired. -
Data reference type
: The type of the input data reference. The type can be eitherMeasurement
orAsset property
. -
Data reference
: The name of the data reference. The reference is selected by searching in all existing references of the chosen type over all databases. Note that there is no check on the health or configuration of the reference during selection.
Script
- The script calculates a new value for each value of the input reference.
- The resulting value should have the datatype that is configured in the calculation.
- You are able to test your script using the “Test” button, prior to saving the calculation script.
- Read further about setting up a calculation script .