Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Production Management

Build an expression

  • Last UpdatedMar 01, 2024
  • 2 minute read

Many items in Studio have an expression property and require you to build expressions. This topic describes the basic steps to follow when you build expressions.

To build an expression

  1. In the Properties pane, next to the Expression property, click Browse. The Expression Editor appears.

    Studio labelled Expression Editor with the main parts, Property pane, Expression tab, Expression edit, parameters pane, filter checkbox, and compile check box, and expression toolbar.

  2. Switch to the Expression tab if it is not already the active tab. If you build a new expression, the Expression Edit box is blank. If you edit an existing expression, the expression appears in the Expression Edit box.

  3. As you build or edit the expression, place the insertion point where you want to add a property, parameter, or C# operator.

  4. In the Select Property pane, double-click the property that you want to add. The property appears in the expression. You can also type the expression.

  5. In the Parameters pane, double-click the parameter that you want to insert.

  6. On the Expression toolbar, click the appropriate button to add a mathematical or logical operator, for example, +, -, *, /. You can also type any valid C# operator.

Select the Compile checkbox

  • Select the Compile check box to make the expression available for AVEVA™ Production Management to compile.

Select the Dependencies

  1. Switch to the Dependencies tab.

    Studio labelled Expression Editor with other parts, Dependencies tab, Dependencies list box, and Remove button.

  2. In the Select Property pane, double-click the properties that you want the expression to depend on to trigger its evaluation. The properties appear in the Dependencies List box.

  3. Select a dependency or event in the list box and then click Remove to remove a dependency from the Dependencies List box.

    Finish the expression

    • Click OK.

    In This Topic
    Related Links
    TitleResults for “How to create a CRG?”Also Available in