4 Configuration Creation | 42
4.4 Defining Variable Name Display
As variable names can be very long, and thus hard to read, V8.6 allows to shorten
them based on user-definable rules. A rule searches the variable name for a user-
defined separator or character sequence and deletes either the name part in
front or behind it. Additionally, the application of the rules can be restricted to a
group of variables. The combination of the rules and the group of variables is
called "rule set". All defined rule sets are listed in the block Rule Sequence. The
individual rule sets are applied subsequently in the listed order. If the display
name of a variable is modified by a rule set, the variable is excluded from all fol-
lowing rule sets. This means that per variable only one rule set will be used.
Note
Per signal only one rule set is applied.
The rule set affects the Display Name only, but not the Name, Display Identifier,
or Symbol Link as shown in the Variable Explorer or Information Window.
For more information about what is displayed from the variable name, see "Defin-
ing Display Name in the Application" on page93.
You can perform the following actions:
"To add a rule set" below
"To define the affected variables" on the next page
"To adapt the example for testing the rule set" on the next page
"To reorder rules within the rule set" on the next page
"To reorder rule sets within the Rule Sequence" on the next page
"To delete a rule set" on page44
To add a rule set
1.
To add a rule set, click the icon in the Rule Sequence toolbar.
2. Assign a name to the rule set.
By default the name is set to "Rule Set". If the name is already in use, it is
extended by an increasing number.
3.
To add a new rule, click the icon under Define rules.
A new rule block appears.
4. Select the direction from which the variable name shall be interpreted
when applying the present rule.
5. Select in Action which segment of the variable name shall be hidden
respectively remain visible.
6. Define the Separator, e.g. a dot, underscore, slash, or similar, which shall
be used for segmentation of the variable name.
It is also possible to enter letters or numbers. You can use a single char-
acter or a string.
MDA V8 | User Guide