Seeq Knowledge Base

Formula

Formula enables users to create new signals or conditions using simple math and a library of powerful functions.

Using the Formula Tool

formulaScreenshot.png
image2019-5-8_13-30-43.png
image2019-5-8_13-29-30.png


Variables: You can modify the list of available time-series and condition variables by the following:

  • Name: rename your variables by clicking the edit icon image2019-5-8_13-22-20.png or by clicking on the current variable name and editing it inline

  • Item:   select the signal or condition you want to connect to your variable name

  • Add: Click the add icon  image2020-12-10_13-42-4.png  to add the variable name to the Formula where your cursor is located or type the variable name directly into the Formula. 

  • Remove: variables by clicking the appropriate image2019-5-8_13-23-54.png

  • Add more variables: additional variables can be added to your formula by either clicking image2017-11-21_18-26-4.png which will add a new variable for every signal or condition currently displayed in the trend or by clicking  image2017-11-21_18-26-51.png  which will add a single new variable and prompt you to search for the item

FormulaEnter a mathematical formula to derive new signals or condition using a combination of the list of variables you defined above and formula functions. Refer to the article, Seeq Formula Overviewfor information on formula syntax. Search and navigate available functions (all documented with working examples) in the formula reference docs. The formula docs are only available in the expanded view of the formula editor.

Formula Documentation: In the expanded formula panel, formulas can be searched using the  image2019-5-8_13-26-43.png  search box or the entire list of formulas available can be found with the  image2019-5-8_13-27-29.png  icon. Examples of the usage of the various formulas are available. Using the  image2019-5-8_13-31-42.png  will copy the example formula into formula window.

Expand/Collapse Panel:  Click the icon image2019-5-8_13-25-32.png in the top right corner of the panel to expand the editor to give yourself more space or collapse the panel to see the entire trend area.