Set health attribute traits
- Last UpdatedJan 11, 2023
- 3 minute read
- PI System
- PI Server 2024 R2
- PI Server
You can only set one set of health attribute traits per element or model.
Set health attribute traits for an element template or for an element to enable users to establish the health of an asset. You can also set health attribute traits for a model template or model.
-
Choose from the following actions:
To set a health trait for ...
Do this ...
Element or model template
-
In the Library browser, select an element or model template.
-
Choose one of the following actions:
-
Right-click and click Health.
-
On the General tab, click the Health link.
-
Element or model
-
In the Elements browser, select an element or model.
-
Choose one of the following actions:
-
Right-click and click Health.
-
On the General tab, click the Health link.
-
Attribute template
-
In the Library browser, select an element or model template.
-
In the viewer, click the Attribute Templates tab.
-
Choose one of the following actions:
-
Right-click under the grid and click Health of Element Template.
-
Click New Attribute Template and from the Properties list, select Health > HealthScore or Health > HealthStatus. Then assign values, as described in step 4.
-
Attribute
-
In the Elements browser, select an element or model.
-
In the viewer, click the Attributes tab.
-
Choose one of the following actions:
-
Right-click under the grid and click Health of Element.
-
Click New Attribute and from the Properties list, select Health > HealthScore or Health > HealthStatus. Then assign values, as described in step 4.
-
Note: You can also configure health traits as a child attribute template to an existing attribute template, or as a child attribute to an existing attribute by right-clicking and clicking Properties. From the Properties list, select Health > HealthScore or Health > HealthStatus. Then assign values, as described in step 4.
-
-
In the Health window, select the check box beside the trait you want to apply, or select the check box in the column header to select all traits.
-
In the Attribute column of the Health window, choose one of the following actions:
-
Leave the default attribute name as is. The default attribute name displays the path relative to the element.
-
Replace the default attribute name with a name of your choice. Ensure that the full path to the element is retained.
-
If a child attribute already exists that you want to assign to the health trait, select it from the list.
Note: Health attribute traits that have already been defined are displayed in bold typeface.
-
-
Choose from the following actions:
To set a ...
Do this ...
Value for the HealthScore trait
In Default Value (for a template) or Value (for an element) , enter a numeric value.
Value for the HealthStatus trait
In Default Value, select a Health Status enumeration value:
-
Healthy
-
Out of Service
-
In Maintenance
-
Warning
-
Error
-
Other Health Status enumeration set values added by an administrator
Value from a data reference
-
In Data Reference, select a data reference type.
-
In Settings, click
to configure the data reference.
-
Click OK to close the data reference window.
The result of the evaluated data reference is displayed.
-
-
Click OK when your list of health attributes for the selected element (or model) is complete.