Learn here, how you can set up a data structure.

The data structure is represented by nodes. Depending on the node type more nodes can be nested infinitely in terms of number and depth.

Node types

The following node types are available.

Symbol

Name



Object



Array



Property



Attribute (XML mode only)

The node type is indicated by an icon in front of the name or as a tooltip when hovering the mouse over the node.

To build a data structure proceed as follows:

  1. Before configuring a data structure the root node must be defined. Therefore, click on Set up root node in the Name column.

  2. A dialog opens, providing the option to either add the root node as an object or as an array. In most cases, the root node is an object. Select Object, for example, and click <OK>. You cannot enter a name because the Name field is not available.

  3. Click on Add to root... to add more nodes.

  4. In the following dialog select the desired node type for each, enter or select the additional information and add the node by clicking on <OK>.

  5. In this way, arrange your data structure.

Properties of node types

Name

The node name can be a static value or a signal.

Enter the static name manually in the field.

The node names on the same tree level must be unique. If you enter duplicate names, then an error message pops up and the entry is rejected.

If you want to use a signal, then click on the arrow icon for the drop-down list and select the desired signal from the signal tree. The signal name will be used for node name.

Value type and value

These two parameters are available only for node type Property. Object and Array do not offer these settings.

The following value types are available for Property:

Value type

Static value

Value from signal

String

Select Static value and enter text

Select text signal

Number

Select Static value and enter number

Select analog signal

Boolean

Select True or False

Select digital signal

Remove nodes

In order to delete a node from the data structure, make a right mouse click on the node in question and select Remove [x] in the context menu.

Alternatively, you can press the <Del> key while the node in question is selected in the data structure tree. To prevent unintentional removal a warning pops up.