A Conditional Value widget can change how the data from a single tag is displayed according to the current value of the tag.
When you customize the widget, under Conditions, you can set a range of values, then assign an icon, background color, and text to each range. When the widget displays the value, it will display it with the icon, color, and text you assigned to that range.
You can set multiple ranges within different Scopes: Aggregated Data and Last Value. You select which tag to display, determine the data to display, organize how the data is presented, and then customize the widget’s appearance.
After you drag & drop the widget onto the canvas; the Widget Wizard opens and leads you through the required steps.
Here you select the Asset Type, the Asset Properties, and the Tag Data you want to present.
When you have finished, click Next to continue to the next step.
Select the widget Scope.
Scope determines which data is displayed, and how it will be displayed; available options depend on the widget type.
Scope types include:
Aggregated Data
Enables you to collect data from specified tags over a specific time
period, and to automatically calculate and display the result of calculations
such as average, minimum, maximum, sum, and count. You can select
how to sort and filter the displayed results.
Last Value
Select this to display the most recent value of the selected tags.
You can select how to sort and filter the displayed results.
Aggregate by Last Value
Enables you to take the most recent value of the selected tags and
to automatically calculate and display the result of calculations
such as average, minimum, maximum, delta, sum, and count. You can
select how to sort and filter the displayed results.
Make your selection, and click Next.
This is where you select the Value to display.
Drag the data tag you want to show into
the Data and Metrics field.
Aggregated Data only: if you select this Scope, note the drop-down
arrows that enable you to perform calculations on certain tag data, such
as Temperature Average.
Multiply or Divide by Factor
You can apply a factor to multiply or divide the value of a numerical tag or aggregated data, in order to display the modified values on Dashboards.
Tip |
To learn more, see Multiply or Divide by Factor. |
Filters
You can filter your data to display it according to your selected parameters, such as time, date, or size..
1....Click Filters to open Available Data and view the Data Tags and Asset properties selected in Step 1.
2. Drag &
drop the tags you want to display in the table to the Filters area.
Tip |
To learn more, see Widget Filters. |
Step 4 – Customize your Conditional Value Widget
You can customize your widgets to effectively display your data, according to your dashboard requirements.
There are a number of options:
Widget Name: enter the text for the Title bar of your widget, and select whether to center it or not.
Value Size: enter numbers to set a text size to display the value.
Decimal digits: enter the number of decimal places to show for that tag value.
Symbol: enter a Symbol to display with the tag value; use the ‘Show symbol to the left’ to change the default right-side symbol placement.
Symbol size: enter a value.
Add textual remark for the value shown: enter a comment to be displayed under the value.
Click the plus sign to add a condition.
Enter values; you can also select an icon, background color, and add a text comment
Colors
You can change the colors of the widget display using the Color Picker.
Click the color of the element you want to edit to open the Color Picker.
Select the Color in the selection bar.
Click the color field, and drag your cursor to the desired color.
Click OK.
Here you configure which dashboard UniCloud will display in response to user clicks. Navigation is not mandatory, and can be left undefined.
Tip |
To learn more, see the Dashboard Navigation guide. |
When you are done, click Finish to return to the Dashboard Canvas.
The widget you have just configured will be displayed at its default size and may be resized and repositioned.