Define the Expression for a Calculation Point

Use the Expression field on the Calculation tab to enter a calculation expression for a Calculation Point. An expression is a combination of references to database items (tags), symbols and operators that Geo SCADA Expert evaluates to obtain a single value. For more information, see Calculation Points and see Calculation Point Examples.

Use the Expression window to create and modify an expression. You can type in the expression in the Expression field, select a tag via the browse button or create the expression using a combination of manually entered code and tags.

To insert an OPC Tag, OPC Historic Tag or a Color into the expression:

  1. Position your cursor at the location in the expression where you want to insert the tag or color.
  2. Select the Browse button to insert a tag or color.
    A context-sensitive menu is displayed.

  3. Select a menu option from: OPC Tag, OPC Historic Tag or Color.
    • OPC Tag—Insert a reference to a specific Geo SCADA Expert database item property. For example, you can reference the CurrentValue property of a database point. For more information, see Selecting an OPC Property Tag in the Geo SCADA Expert Guide to Expressions.
    • OPC Historic Tag—Insert a historic tag. For more information, see Selecting an OPC Historic Tag in the Geo SCADA Expert Guide to Expressions.
    • Color—Insert a color from the displayed palette or insert a custom color of your choice. For more information, see RGB in the Geo SCADA Expert Guide to Expressions.
      Geo SCADA Expert inserts the tag or color at the current cursor position in the expression.

To edit an existing tag in the expression:

  1. In the Expression, select the tag that you want to edit (including the double quotes).
  2. Select the Browse button.
    A context-sensitive menu is displayed.
  3. Select the menu option that corresponds to the type of tag you're editing. Select from: OPC Tag or OPC Historic Tag.
    Geo SCADA Expert displays the selected tag in the Select Tag window.
  4. Edit the tag or navigate the hierarchical tree structure to select a replacement tag.

Further Information

Expressions: see Welcome to the Guide to Expressions in the Geo SCADA Expert Guide to Expressions.

Expression editors: see Using the Expression Editors in the Geo SCADA Expert Guide to Expressions.

Tags: see Tags in the Geo SCADA Expert Guide to Expressions.

Calculation Points: see Calculation Points.


Disclaimer

Geo SCADA Expert 2019