OSIsoft PI

The OSIsoft PIarrow-up-right Agents allows you to include data from an OSIsoft PI System in your Data Stream using the PI Web APIarrow-up-right.

The Listener allows you to read all recorded data of an Element(s) or Event Frame(s) since the last poll from the PI System. This agent also allows you to get summarized data from an OSIsoft PI System.

The Context Provider allows you to read all recorded Element(s) or Event Frame(s) data over a specified date/time range from an OSIsoft PI System.

The Action Agent allows you to update element data in an OSIsoft PI System.

circle-info

PI uses a data quality property called “Good” to indicate whether a value is reliable. XMPro’s PI Agents pass a null (blank) value whenever the "Good" property is false, which helps prevent unreliable or erroneous data from entering your workflows and ensures only trusted readings are used for downstream analysis.

If you notice a high number of blank values, we recommend testing the PI Web API output directly (e.g. Postman) to confirm the data quality at the source.

Pre-requisites

The following is required to use these Agents:

  • PI AF Server should be installed before using the OSIsoft PI agents

  • PI Data Archive Server should be installed before using the OSIsoft PI agents

  • PI Web API needs to be installed and running alongside OSIsoft PI Server

  • The Stream Host running the Data Stream should be on a VM that has access to the OSIsoft PI server

Current Version

  • Requestenvelope the OSIsoft PI Listener v4.22 (Last Update: 11 Dec 2025)

  • Requestenvelope the OSIsoft PI Context Provider v4.43 (Last Update: 27 Nov 2025)

  • Requestenvelope the OSIsoft PI Action Agent v3.11 (Last Update: 6 Jan 2025)

Please contactenvelope XMPro if you're looking for an older version of this Agent.

circle-info

After upgrading the Listener from v4.02 or earlier to v4.03+ or the Action Agent from v3.02 or earlier to v3.10+, please open the Agent's configuration blade and follow the instruction to complete the upgrade process.

Listener Release Notes

Version
Date
Description

4.22

11 Dec 2025

Fixed only the value of the first alias being returned where multiple aliases mapped to the same attribute while using the "Return Latest" return type (introduced in 4.19).

4.21

27 Nov 2025

Fixed attribute value data type not followed when using Alias.

Fixed attribute validation during Integrity Check.

4.20

17 Nov 2025

Fixed returning the whole Object rather than the attribute value.

4.19

31 Oct 2025

Support multiple aliases for a single PI attribute, allowing the same attribute value to be mapped to multiple output fields with different alias names. Replaced "undefined" Integrity Check error with meaningful message for PI server connectivity and data availability failures - the Agent continues data collection gracefully when these are detected while the Data Stream is published.

4.18

25 Sep 2025

Fixed issue on "Return All" that was introduced in 4.17.

4.17

21 Aug 2025

Replaced Newtonsoft.JSON library with the standard System.Text.Json to improve overall performance. Known issue: "Return All" does not return any data.

4.14

11 Jul 2025

Fixed configuration stuck at the loading screen.

Fixed Max Batch number saved with value 0 after upgrade causing a runtime error.

4.11

30 May 2025

Implemented Attribute alias and PI Web API Filter Expression support.

4.08

17 Apr 2025

Support GZip in Web API request header to improve performance.

Fixed WebId generation error at runtime when attribute name contains spaces.

4.05

06 Jan 2025

Repackaged to translate the Agent's properties.

4.04

04 Jul 2024

Improve overall performance by reducing calls to the OSIsoft Web API.

Support configurable duration of the element cache (Element Cache Refresh Interval in Hours).

Fixed exclusion condition issue.

4.02

20 Apr 2024

Fixed summary attribute issues and validation errors.

4.00

18 Apr 2024

Implemented the new PI Client library using REST API.

Added PoolConnectionTimeout.

3.04

17 Oct 2023

Includes number of requests per batch.

Includes relabeling of properties.

2.66

30 Jun 2023

Added polling delay option.

2.65

23 May 2023

Added option to include the unit of measure (UoM) in the output.

2.64

04 May 2023

Added option to include the latest value's timestamp in the output.

2.60

01 Dec 2022

Fixed bug in GetEndTime method (introduced in v2.56).

2.59

17 Nov 2022

Added the option to specify Elements Category using a variable.

2.58

15 Nov 2022

Repackaged to include the Agent's Category.

2.57

23 Sep 2022

Updated to return Name from values of complex data types.

2.56

25 Jul 2022

Added Month and Year duration types to the Summary Interval duration property.

2.55

02 Jun 2022

Added additional error handling to the Create and Poll events.

2.53

08 Dec 2021

Added Polling Delay config option.

2.51

04 Nov 2021

Merging changes from v2.42 and v2.43 into v2.50.

2.50

11 Oct 2021

Added Event Frame lookup functionality.

2.43

04 Nov 2021

Fixed an issue with refreshing the element list on every poll.

2.42

11 Oct 2021

Fixed issue with summary attributes.

2.41

15 Sep 2021

Enabled summary option for attribute names without a ".PV" suffix.

2.39

05 Aug 2021

Added functionality to read child attributes. Filtering Summary Attributes list and using name filter to limit summary to numeric tags only.

2.38

16 Mar 2021

Getting inherited attributes as well when using template.

2.37

11 Mar 2021

Getting attributes based on template instead of element when filtering by template.

2.34

17 Dec 2020

Fetching element list on every poll when no elements are specified.

2.33

31 Aug 2020

Fixed issue with outputs when no template is selected.

2.32

21 Aug 2020

Setting Filter By Template to True by default.

2.31

18 Aug 2020

Added option to filter the elements and attributes without specifying the template.

2.20

20 Jul 2020

Added 'Second' option to Summary Duration Unit and Interval Duration Unit.

2.10

14 May 2020

Fixed issue with system variables where in variable values are now not copied to text fields when switching from variable box to text box.

2.0

28 Apr 2020

Added option to specify connection settings using system Variables.

Using Connection Variables is the default setting from this version.

If upgrading the agent in an existing data stream, add the system variables first and then perform the variable mapping in the data stream.

1.61

18 Aug 2020

Added option to filter the elements and attributes without specifying the template.

1.52

22 Apr 2020

Added functionality to filter elements by category.

1.51

07 Feb 2020

Added functionality to filter attributes by category to improve API requests' performance.

1.49

25 Oct 2019

Fixed issue with missing summary, latest and recorded data.

1.48

22 Oct 2019

Incorporate changes to the Filter agent.

1.47

24 Sep 2019

Added Exclusion Conditions option.

1.46

20 Aug 2019

Added option to specify Summary attributes separate to Main attributes.

1.45

20 Aug 2019

Fixed integrity check for Elements.

Added validation of Summary and Interval Duration values in integrity check.

1.44

19 Aug 2019

Included option to specify Summary Interval Duration.

1.43

15 Aug 2019

Fixed bug in the number of output columns when summary options are selected.

1.42

09 Aug 2019

Replacing hyphen with underscore in output properties.

1.41

02 Aug 2019

Returning the values only if they are Good, otherwise returning null.

1.40

31 Jul 2019

Included option to retrieve summary values.

1.30

26 Jul 2019

Implemented attribute filter.

Implemented element filter.

Implemented return all vs return latest.

1.17

24 Jul 2019

Agent made Non-Virtual.

1.16

04 Mar 2019

Updated help url.

1.15

13 Aug 2018

Added error endpoint.

1.14

18 May 2018

Corrected agent name.

1.13

15 May 2018

Added validation.

1.00

19 Mar 2018

Initial Release.

Context Provider Release Notes

Version
Date
Description

4.43

27 Nov 2025

Fixed attribute value data type not followed when using Alias.

Fixed attribute validation during Integrity Check.

4.42

31 Jul 2025

Reduced calls to the OSIsoft Web API to improve overall performance.

4.41

10 Jul 2025

Support Trusted Certificate.

Support attribute aliases.

Skip reading the attribute value if failed from Pi Web API.

Removed Virtual from English Translation.

4.31

06 Jan 2025

Repackaged to translate the Agent's properties.

4.30

23 Apr 2024

Implemented the new PI Client library using REST API.

Implemented the use of variables for Server and Database fields.

Hiding Element Category fields when using the Event Frame lookup type.

Fixed issues in polling and validation.

Fixed issue with looking up child attributes.

Added option to specify MaxCount.

3.21

15 Nov 2022

Repackaged to include the Agent's Category.

3.20

23 Sep 2022

Updated to return Name from values of complex data types.

3.19

02 Jun 2022

Added additional error handling to the Create and Poll events.

3.18

14 Dec 2021

Added Event Frame lookup functionality.

2.05

13 Sep 2020

Update of CP to retrieve all recorded data from specified duration.

2.0

03 Aug 2020

Added System Variables functionality.

Added option to filter Elements and Attributes by category; Removed task cancellation functionality.

1.24

21 Jan 2020

Added cancellation token to fix issue on unpublish of a stream.

1.23

16 Jan 2020

Fixed the error on Elements dropdown.

1.22

09 Aug 2019

Replacing hyphen with underscore in output properties.

1.21

02 Aug 2019

Returning the values only if they are Good, otherwise returning null.

1.20

01 Aug 2019

Agent made Non-Virtual. Added option to select Attributes.

1.16

04 Mar 2019

Updated help url.

1.15

13 Aug 2018

Added error endpoint.

1.14

08 Jun 2018

Updated help url.

1.00

19 Mar 2018

Initial Release.

Action Agent Release Notes

Version
Date
Description

3.11

06 Jan 2025

Repackaged to translate the Agent's properties.

3.10

04 Jul 2024

Improve overall performance by reducing calls to the OSIsoft Web API.

Fixed validation error while using system variables.

3.02

01 May 2024

Implemented the new PI Client library using REST API

2.38

15 Aug 2023

Implemented parallel processing and the use of a streamset endpoint to write data faster.

2.21

15 Nov 2022

Repackaged to include the Agent's Category.

2.2

12 Oct 2022

Fix to ignore null values when writing to PI.

2.1

02 Jun 2022

Added additional error handling to the Create and Poll events.

2.00

03 Aug 2020

Added System Variables functionality.

Added option to filter Attributes by category.

Removed task cancellation functionality.

1.00

13 Aug 2019

Initial Release.

Last updated

Was this helpful?