About

»Events happen within your HELIO elements, usually initiated by operators. For instance, a button can be clicked, or a dialog can be confirmed

»Actions define how HELIO will respond to an event. For instance, when a button is pressed, HELIO can write a data variable, display an alert, or navigate to a page. It offers numerous other actions for you to choose from!«


Examples

Both of the following Actions can respond to the On click event of a Button (Element)

Writing a Value to a Data Variable

  1. Navigate to any page on the Dashboard that you would like (for example, you could use the Playground HMI template), and add a button to one of the widgets on your Dashboard.

  2. Navigate to the properties of the new button. By default, the On click event of buttons is set to the Show Simple Alert action. Change the action to Write Data Variable (Action) and select the variable you want to modify.

    For instance, you can change the value of a variable in the Playground project!

  3. Set the Value you would like to write to your data variable, for example 21 for the pressure value.

<aside> <img src="/icons/light-bulb_gray.svg" alt="/icons/light-bulb_gray.svg" width="40px" /> To prove that you have actually changed the value, add a Magic Output (Element) to your page and link it to the modified variable.

</aside>

Untitled


Navigating to a Another Page

  1. Add another button or reuse the existing button.

  2. Change the button’s On click action to Navigate to Page (Action).

  3. Pick any page you want to navigate to.

    For example the Tool Management page in the Playground HMI.

  4. Press the button in Test Mode (Preview Panel) and it will take you to the selected page!

Untitled


Dig Deeper