The editor includes a mechanism for plotting variable values on charts. This functionality is convenient for assessing the program's performance dynamically, especially when verifying the results of filtering a particular parameter.
To display constants or inputs/outputs of functions on the graph is not possible. It is necessary to create a variable and then visualize it.
Let's take a fragment of the diagram:
Suppose it is necessary to track the value readings at two points:
Between the FLEX parameter function (FLEX) and the Greater than or equal to function (GE);
The value of the variable allow_listen
.
Since the chart can only display variable values, to solve this task, it will be necessary to add a temporary variable to obtain data, var_1:
Now, variables can be added to the graphs through the context menu:
When adding a variable to the chart, a dialog with output settings will appear (all settings will be detailed later in the guide):
The chart windows are 'floating' - they can be positioned within the editor interface or 'dragged' outside the editor (for example, onto another monitor).
Let's place the windows one below the other, align their width, and start playback:
Values are read from the device at intervals set in the application settings.