Variable

This node is used to define variables. To do so:

  1. Double-click the node to open it, or right-click it and select Edit from the context menu.

  2. From the Data kind list, select one of the following options:

    • Boolean

    • Scalar

    • Vector

    • Matrix

    • Signal

    • XY-Data

    • Custom expression

  3. Set the size of the table by changing the following settings:

    • Set the number of table rows by changing the number of Entries for Vector and XY-Data.

    • Set the number of table rows and columns by changing the number of Lines and Columns for Matrix.

    • Set the number of table rows and columns by changing the number of Channels and Entries for Signal

    To manually add columns or add or remove rows in these tables, you can right-click the table header or sidebar and select Insert here, Insert at end, or Remove.

  4. Enter the appropriate data in the cells.

  5. To save the data and close the dialog, click OK.

For custom expressions, you can use all calculator functions with autocompletion. More complex mathematical expressions can be formulated by opening and using the calculator.

A preview window visualizes the collected data immediately. Uninterpretable values are set to the default value of 0.

Additional Options

To access the options shown in the following table, click Show additional options.

OptionDescription
Auto-save behavior

Select one of the following options:

  • No auto-save

  • Actor execution finished

The project, including the database, is auto-saved (depending on defined interval) after calculating this node/system (either when the calculation succeeds or fails).

By default, No auto-save is selected.

Retry executionWhen selected, retries a node execution if it failed. Set the following options:
  • Number of retries: Maximum number of retry attempts.

  • Delay between attempts: Time in milliseconds between each retry attempt.

Slots
Slot NameSlot TypeData TypeDescription
InOut
Varx Input variable
Varx Output variable