What's New in PI AF 2016 R2
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
With the PI AF 2016 R2 (2.8.5.7759) release, notifications are an integrated, native feature of PI AF. The new notifications are based on event frames and are a complete rewrite of PI Notifications with higher performance and scalability. Other major enhancements include:
- Ability to define attributes with geo-location characteristics of latitude, longitude and altitude.
- Additional AF SDK searches for analyses, notification rules, transfers, and cases.
- Improved event frame scalability and performance.
- Export and import support for contacts, notification contact templates (end points), notification rules, and notification rule templates.
This topic contains the following sections:
OSIsoft.AF Namespace
A new AFContactFindContacts(PISystem, String, AFSearchField, AFSortField, AFSortOrder, Int32, Boolean) method has been added to optionally not return contacts defined by Active Directory.
OSIsoft.AF.Analysis Namespace
The new AFAnalysisService class was added to provide information about the analysis service associated with the PISystem. This object is returned from the PISystemAnalysisService property.
OSIsoft.AF.Asset Namespace
The AFAttributeIsAnyDataMethodSupported property was added to make it easier to determine if any data methods are supported by the attribute. The Template and IsDynamic properties have been added to the IAFAttribute interface.
An attribute trait can now specify a default UOM for its associated attribute which is returned by the new AFAttributeTraitGetDefaultUOM(PISystem) method. The AFAttributeTraitValidateTrait(AFAttributeTrait, IAFAttribute, String) method can be used to validate a trait for an attribute. To support specifying geo-location characteristics, the following attribute traits have been added along with the AFAttributeTraitAllLocations attribute trait group:
OSIsoft.AF.Data Namespace
The AFListDataReplaceValues methods have been added to more efficiently replace and/or delete values. The AFDataCacheTrimData(AFAttribute, AFTime) method has been added to the AFDataCache.
OSIsoft.AF.Notification Namespace
Most of the changes for the new notifications were added in the previous version. Since that version, the AFDeliveryFormatIsDefinedByDeliveryChannel property was added along with the AFNotificationRuleResetToTemplate method. Also, the names of the AFNotifyOption enumeration values have changed.
OSIsoft.AF.PI Namespace
The PIServerReplaceValues methods have been added to more efficiently replace and/or delete values. The PIPointFindPIPointsAsync async methods have been also been added.
OSIsoft.AF.Search Namespace
The AFSearchFindObjectIds(Int32, Int32) was added to allow only returning the IDs of the objects from the search. Three new search filters were added: GroupID, Source, and Destination. The following new query based search classes have been added: