A List is an abstraction in HELIO to simplify and manage sets of items. Use it in an HMI to:
Often, lists are created from directories imported from various PLC Connection (Data Source Type).
<aside> <img src="/icons/hand_gray.svg" alt="/icons/hand_gray.svg" width="40px" /> Note: In order for this to work, each item in such a directory must contain children that all match the same schema.
</aside>
To create such a List
:
List
using the Convert to List
option.A List
can also be created from Data Collection (Data Source Type) .
Removing elements from Lists
can be tricky because most PLCs only support arrays or lists with a fixed size. A commonly used solution is to define a special sentinel attribute for each list item. This attribute indicates whether an item exists. If this attribute is missing or null, it is treated as non-existent by consumers and HMIs.
HELIO adheres to this practice, allowing you to use only elements that meet a specific condition.
In this example, the
Id
attribute of each message determines whether an entry in this list is a valid message or an empty space that will be filled as more messages arrive.
<aside> <img src="/icons/headset_gray.svg" alt="/icons/headset_gray.svg" width="40px" /> Need Other Conditions?
Right now the Property Has Value
condition is the only supported one.
Feel free to reach out to our support team if you require other conditions for your PLC. Our Happiness Engineers can take your requirements to our dev team. 😊
</aside>