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

PI Builder (PI Server 2018)

Edit the reactor elements to specify new attribute values

Edit the reactor elements to specify new attribute values

  • Last UpdatedDec 13, 2024
  • 2 minute read

Before you can edit the reactor elements, you need to Edit the reactor template.

You can use PI Builder to edit existing elements. Follow this procedure to edit the reactor elements to set values for the new attributes you added in the previous procedure. You will retrieve the elements into a worksheet, edit the values, and publish to PI AF.

  1. Open a new Microsoft Excel worksheet and click the PI Builder tab.

  2. Find the elements that use the reactor template:

    1. Click Elements > Find Elements to open the Element Search window.

    2. From the Template list, select Reactor Template.

    3. From the All Descendants list, select True.

    4. Click Search.

      PI Builder retrieves the elements that use the template named Reactor Template into the Results table.

    5. Select all the elements in the Results table and click OK.

  3. In the Select Object Types and Column Headers window, specify the columns to show in the worksheet:

    1. Click Clear All to clear any existing settings.

    2. In the Attribute Columns (from Template 'Reactor Template') group, select three check boxes:

      • Manufacturer

      • Manufacturer|Last Maintained

      • Manufacturer|Serial Number

  4. Retrieve the selected elements into the specified columns:

    1. Click OK.

      PI Builder adds the selected columns to the worksheet and retrieves the selected elements. The Retrieve Selected Objects window shows the operations completed.

    2. Click Close.

  5. Edit the elements to specify attribute values for manufacturer, serial number, and last-maintained date:

    1. In row two, type in the following values:

      Column

      Value

      |Manufacturer

      ACME

      |Manufacturer | Last Maintained

      15 june 2010 10:00:00

      |Manufacturer | Serial Number

      A123456

      You can enter date-time values in a variety of formats, including PI time format. See List of value formats for more information.

    2. Select cells E2 through G2, and then drag the fill handle to cell G11.

      Excel copies the selected cells and fills in the serial-number and last-maintained columns with sequential values. The cells for the new attributes should look like this (date format depends on your local computer setting):

      An example of how the worksheet should look after adding the values to the reactor template

  6. Publish the elements to PI AF:

    1. Click Publish to open the Publish Options window.

    2. From the Edit Mode list, select Create and Edit.

    3. Click OK.

      PI Builder changes the attribute values in the database. The Publish Selected Objects window shows the operations completed. PI Builder automatically checks in the changes.

    4. Click Close.

      You can view the templates in PI System Explorer. If PI System Explorer is already open, click Refresh to see the changes.

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