Creating a preset
Kaspersky MLAD allows you to create presets and configure how the results are displayed in the Time slice view.
You can define graphic areas. Graphic areas define the composition of tags whose data is displayed on the same graph and the place where the tag graph is displayed under History and Monitoring. Graphic areas that contain a single tag are referred to as single-tag graphic areas. Single-tag graphic areas are created automatically after you select tags for the preset.
If necessary, you can specify an expression to use for calculating the values of tags in the preset to display these values on the graph in the Time slice section. For example, you can use the specified expressions to view individual tag errors, predicted tag values, and the values of tags received from the monitored asset's sensors at the same time. You can use the following variables in your expressions:
- $tagValue is the received tag value (based on the results of monitoring).
- $tagError is the individual tag error.
- $tagPrediction is the predicted tag value.
- $tagX is the X coordinate of the monitored asset's sensor location specified when creating the tag.
- $tagY is the Y coordinate of the monitored asset's sensor location specified when creating the tag.
- $tagZ is the Z coordinate of the monitored asset's sensor location specified when creating the tag.
To create a new preset:
- In the main menu, select the Presets section and click the
button.
The Create preset pane appears on the right. The asset tree appears on the left side of the pane.
- Specify the name of the preset in the Preset name field.
- In the asset tree, select the check boxes next to the tags that you want added to the preset.
To include all tags associated with a particular preset, choose that preset from Select preset. Find and add a tag by typing its name into the Search by tag name field, then select the relevant tag.
If you need to delete tags from a preset, clear the check boxes next to the tags you want to delete in the asset tree.
- Click Save selection.
Graphic areas automatically generated for each selected tag appear on the right. The number of graphic areas corresponds to the number of tags in the preset.
- To change the preset name, do one of the following:
- Click Delete all areas under Graphic areas to delete all graphic areas associated with the preset.
- Click
in the upper right corner of the graphic area section and confirm your choice.
Deleting a graphic area does not remove the tags associated with it from the preset. You can add tags from deleted graphic areas to other areas.
- To edit an existing graphic area, do one the following:
- To add a tag to a graphic area, click the plus sign in the graphic area section and select a tag.
To copy the name of a selected tag, click the
button on the right of the relevant name. You can use the copied tag name, for example, as the name of a graphic area.
- To remove a tag from a graphic area, click the
button next to the tag in the graphic area section.
- To add a tag to a graphic area, click the plus sign in the graphic area section and select a tag.
- To add a graphic area, do the following:
- Click Empty area.
- Select a tag to add to the graphic area.
If the selected tag is used within a single graphic area, the browser window displays a corresponding informational message.
To copy the name of a selected tag, click the
button on the right of the relevant name. You can use the copied tag name, for example, as the name of a graphic area.
- To add a further tag or several tags to the graphic area, click the plus sign and select tags.
To copy the name of a selected tag, click the
button on the right of the relevant name. You can use the copied tag name, for example, as the name of a graphic area.
- To add single-tag graphic areas for tags unused in other graphic areas in the preset, click Single-tag graphs.
On the right, single graphical areas will be displayed for tags that were not used in previously created graphic areas.
- If you need to change the position of a graphic area within a preset, drag the graphic area up or down by holding the dots on the left (
) of its name.
- To change the settings for displaying the graphic area under History and Monitoring, do the following:
- Click the
button in the upper-right corner of the graphic area section.
A panel with the graphic area display settings appears on the right.
- In Graphic area name, provide a name for the graphic area.
- Enter a new graphic area description in Description.
- In the Axis scale mode drop-down list, select one of the following modes:
- Single axis mode: uses one Y-axis to display tag data.
- Cast mode: scales data along the Y-axis for each tag individually, irrespective of data from other tags in the graphic area.
- If you have selected single axis mode, do one of the following:
- Turn on the Automatic toggle button to automatically scale the graph according to the minimum and maximum data values for all tags in the graphic area.
- Turn off the Automatic toggle button and provide an upper and lower display boundary for tags in the graphic area.
If tag values go beyond the defined boundaries, they will not be displayed in the graphic area. The permissible boundaries for displaying tag values take priority over the display of blocking thresholds, even if the Always display blocking threshold function is enabled.
- To add further horizontal threshold lines for tags on the graph, click Add threshold line, and provide a threshold value and line color to display on the graph.
Additional threshold lines help to visualize tag value fluctuations within certain limits. You can add multiple threshold lines.
If you need to delete a previously added threshold line, click the
button next to the specified threshold value and the color of the relevant line.
- Click the Save button.
- Click the
- To configure the display of preset in the Time slice section:
- Click Display preset in the Time slice section.
The Display preset in the Time slice section panel appears on the right.
- Turn on the Display preset in the Time slice section toggle button.
- In the X-axis caption field, enter the caption to be displayed on the x-axis.
- To display on the graph the values of preset tags calculated according to the expression, click Add graph and specify the following values:
- In the Name field, enter the name of the expression to be used for calculating the tag values.
- In the Y-axis caption field, enter the caption to be displayed on the y-axis.
- In the Expression for calculation field, enter an expression for calculating tag values.
You can define expressions with simple arithmetic operations (such as addition, subtraction, multiplication, and division). For example, if the sensors are reporting temperature in Fahrenheit, you can use the following expression to display the temperature in Celsius:
5/9 * ($tagValue - 32)
- In the Graph color field, select the color of the graph that will be displayed for the preset in the Time slice section.
If necessary, you can add multiple expressions for the Time slice section.
- If you want to delete an expression from a preset for the Time slice section, click the
button on the right of the relevant expression.
- Click the Save button.
- Click Display preset in the Time slice section.
- Click the Save button.
If any preset tags have not been added to at least one graphic area, the browser window displays an informational message. Tags that are not being used in graphic areas will not be displayed on the graphs in the History and Monitoring sections.
The new preset is displayed under Presets in the presets tree on the left and in the presets drop-down list under History and Monitoring. The preset for which step 11 of these instructions was performed will also be displayed in the drop-down list of presets in the Time slice section.
To change the position of presets in the presets tree, drag the preset up or down the tree by clicking and holding the dots () to the left of the preset icon.