Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Asset Framework and PI System Explorer (PI Server 2024 R2)

Set reason attribute traits

  • Last UpdatedJan 11, 2023
  • 3 minute read

You can only set one reason attribute trait per event frame or transfer.

Use reason attribute traits on event frames and transfers to enable users to select a reason code for excursions, downtime, and other events.

  1. To designate an attribute as a reason attribute trait for an event frame or transfer, choose from the following actions:

    To set a reason attribute trait for ...

    Do this ...

    Event frame template

    1. In the Library browser, select an event frame template.

    2. Choose one of the following actions:

      • Right-click and click Reason.

      • On the General tab, click the Reason link.

    Transfer template

    1. In the Library browser, select a transfer template.

    2. Choose one of the following actions:

      • Right-click and click Reason.

      • On the General tab, click the Reason link.

    Event frame

    1. In the Event Frames browser, select an event frame.

    2. Choose one of the following actions:

      • Right-click and click Reason.

      • On the General tab, click the Reason link.

    Transfer

    1. In the Event Frames browser, select a transfer.

    2. Choose one of the following actions:

      • Right-click and click Reason.

      • On the General tab, click the Reason link.

    Attribute template for an event frame template

    1. In the Library browser, select an event frame template.

    2. Click the Attribute Templates tab.

    3. Choose one of the following actions:

      • Right-click an existing attribute template and click Reason for Event Frame Template.

      • Click New Attribute Template, right-click and click Reason for Event Frame Template.

    Attribute template for a transfer template

    1. In the Library browser, select a transfer template.

    2. Click the Attribute Templates tab.

    3. Choose one of the following actions:

      • Right-click an existing attribute template and click Reason for Transfer Template.

      • Click New Attribute Template, right-click and click Reason for Transfer Template.

    Event frame or transfer attribute

    If the Allow Extensions check box has been selected for an event frame or a transfer template, and no attribute template has previously been designated as a reason attribute trait, you can either create a new attribute and establish it as the reason attribute trait, or choose an existing attribute.

    1. In the Event Frames or Transfer browser, select an event frame or transfer.

    2. Click the Attributes tab.

    3. Choose one of the following actions:

      • Right-click an existing attribute and click Reason for Event Frame or Reason for Transfer.

      • Right-click below the attribute table and click Reason for Event Frame or Reason for Transfer.

  2. In the Reason window, select the check box beside the Reason trait you want to apply.

  3. In Attribute, choose one of the following actions:

    • Leave the default attribute name as Reason.

    • If an attribute already exists that you want to designate as the reason trait, select it from the list.

    Note: Reason traits that have already been defined are displayed in bold typeface.

  4. Choose from the following actions:

    To set a ...

    Do this ...

    Default value for the reason trait

    1. In Value Type, select Enumeration Value > Enumeration Sets and select an enumeration set to use for the reason trait. The default is the built-in System enumeration set.

    2. In Default Value, select the default reason trait value from the selected enumeration set.

    Default value from a data reference

    Note: The data reference must be to a digital states tag.

    1. In Data Reference, select a data reference type.

    2. In Settings, click to configure the data reference.

    3. Click OK to close the data reference window.

      The result of the evaluated data reference is displayed.

  5. Click OK when the assignment of a default reason trait for the selected event frame or transfer is complete.

Related Links
TitleResults for “How to create a CRG?”Also Available in