Bind variable to control element

Now that you have made several process variables from a communication channel known in the project, you can focus on the actual display task. For example, you can place a control element of type NumericVarOut on a view and bind a variable to the control element in order to display the variable value in an output field in the application.

How to bind a process variable to a control element:

  1. Open a page in the Designer, e.g. "MachinePage.html".

  2. Place a control of type NumericVarOut on the page.

    The control element is created on the page and appears as marked.

  3. In the VariableName property, define the variable whose values are to be displayed by the control element:

    1. Expand the "Variable" property category in the Properties window.

      This category contains the VariableName property.

    2. Click on the E l l i p s ebutton next to the VariableName property.

      The Select variable dialogue appears.

    3. Navigate through the tree to the desired variable, select it and confirm your selection by clicking OK.

    4. Confirm with OK.