Examples
The following examples can be found on this page:
This Data Stream example demonstrates how to use this Listener to return element data from the OSIsoft PI System.
Drag the OSIsoft PI Listener onto the canvas and link the output endpoint to the printer. Rename the Agent and save the Data Stream.

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

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

Set the server and database. In this case, keep the lookup type as Element.

Keep the filters ticked. Set the template, element category, and elements.

Select the attributes and return type. In this case, set return type to Return Latest.

Set the polling delay. In this case, set it to 60 for results every minute. Apply the changes and save the Data Stream.

Click Publish.

Click Live View to view the results. Observe the values from OSIsoft PI are printed.

File | Link | Security Key |
---|---|---|
Data Stream | OSIsoft PI Listener Example.xuc | C0mp|ex123 |
This Data Stream example demonstrates how to use this Listener to return event frame data from OSIsoft PI System.
Drag the OSIsoft PI Listener onto the canvas and link the output endpoint to the printer. Rename the Agent and save the Data Stream.

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

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

Set the server, database and lookup type. In this case, set the lookup type to Event Frame.

Set the event frame template, element template, and element template columns.

Set the polling delay. In this case, set it to 60 for results every minute. Apply the changes and save the Data Stream.

Publish the Data Stream.

Click Live View to view the output of the Agent: observe the values from OSIsoft PI.

File | Link | Security Key |
---|---|---|
Data Stream | OSIsoft PI Listener Example 2.xuc | C0mp|ex123 |
Last modified 1yr ago