Binding a global variable to a widget

You can bind a global variable to a widget to control or display the global variable via the visualisation.

  1. Prerequisite
  2. Create a global variable with appropriate data type.
  1. Start editing the real-time application.
  2. In the menu bar, click Visualisation.
  3. On the drawing area, select the widget you want to bind to a global variable.
  4. In the Properties, click DATA.
  5. In the Data binding list box, select the global variable you want to bind to the widget.

Creating a global variable