Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. It is compulsory to create a +New Tag before creating a Computed Tag
    1. Click + New Tag button. 
    2. Enter Folder, path is automatically filled. 
    3. Enter tag Name
    4. Enter Title, if required.  
    5. Enter Type, Numeric or Symbolic. 
    6. Enter Unit, if required. 
    7. Enter Description, if required. 
    8. Click Save
  2. Select Computed Tag. Note: You can only select tags in the folder or sub folders of the job. 
  3. Select Input tags. Note: You can only select tags in the folder or sub folders of the job. 
  4. Is Optimistic  checkbox is checked deactivated by default. Lake allows the insertion of several values at a same timestamp. By default, the computed tag is not going to calculate a new value for the last input since it is not sure whether there is going to have another value at the same timestamp. Therefore the computed tag can have one value late. If Is Optimistic equals to true  is activated it is possible to indicate to the computed tag that it can calculate the last input even if there is a new value at the same timestamp that can be inserted later. 
  5. Write the script. 
  6. Click Save
  7. Click Truncate to remove data for a selection of tags from a particular date onwards. 

...

  • output tags
  • input tags
  • script function
  • is Optimistic = true or false  false ( 
Info
titleTruncate

The truncate option is explained in editing computed tags.

...

Tip
titleSave or Truncate

Use Save if a periodical change is needed. Use Truncate for example if an error was made in the computed tag formula; this is equivalent to deleting past values and replacing them with new correct ones.


Understanding Compute latest values

Example: Calculate the sum of  two tags (Tag1 and Tag2).

...