Example

This example Data Stream demonstrates how to use this Action Agent to update element data in OSIsoft PI System.

Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the OSIsoft PI Action Agent onto the canvas and link the input endpoint to the element data. Rename the Agent and save the Data Stream.

Step 2: Configure General

Select the Agent and click Configure. In this case, keep the default Collection.

Step 3: Configure Authentication

Enter the authentication details: web API url, username, and password.

Step 4: Further Configuration

Set the server and database.

Select the template, tick to filter the elements by category, and select the elements category. In this example, we've selected OSIsoft Pumps Template and opted to filter using the Cory elements category.

Tick to filter the attributes by category, select the attributes category, the attributes to update, and the elements cache refresh interval.

In this example, we've opted to filter using the XMPro attribute category, update the DISCH_DEN_2_PV and DISCH_F_TOT_PV attributes, and do a 12-hourly cache refresh.

Apply the changes and save the Data Stream.

Step 5: Input Mapping

Select the OSIsoft input arrow and click Configure. Map one of the parent Agent's output attributes to each element attribute. Apply the changes and save the Data Stream.

Step 6: Results

Click Publish. Data from the parent Agent is sent to the OSIsoft PI system to update corresponding element data as per the data mappings.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated