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

AF SDK Reference

What's New in PI AF 2018

  • Last UpdatedNov 18, 2025
  • 6 minute read
What's New in PI AF 2018

The PI AF 2018 (2.10.0.8628) release provides performance and usability improvements in many areas:

  • The ability to preserve IDs when importing objects.
  • Multiple improvements to AF Audit Trail including more flexible exports and ability to exclude audit events from specific users such as a service account.
  • Bulk check out and deletion of objects.
  • Ability to search by attribute values without a template.
  • Support for attribute and attribute template Display Digits similar to how PI Tags can be configured with DisplayDigits.
  • Support for new attribute traits Health Status and Health Score.
  • Bi-linear interpolation of AF tables.

This topic contains the following sections:

OSIsoft.AF Namespace

The following properties and enumeration values have been added:

The PISystemGetSessions(NullableAFTime, NullableAFTime, AFSortOrder, Int32, Int32) method returns the connection session information about clients connected to the server.

The following methods have been added to support the ability to check out or delete items in bulk:

OSIsoft.AF.Analysis Namespace

The AFAnalysisRuleSimplifiedConfigString and AFAnalysisRuleSimplifiedVariableMapping properties were added to support exporting simplified configuration strings that do not contain IDs.

The new AFAnalysisErrorSeveritySuspension enumeration value indicates if an analysis is in the suspended state.

The following methods have been added to support the ability to check out or delete items in bulk:

OSIsoft.AF.Asset Namespace

The following properties and methods have been added to support the ability to configure and attribute to specify the number of display digits to be shown in client applications:

Two new attribute traits were added: HealthStatus and HealthScore which belong to the AllHealth attribute trait group. The AFAttributeTraitGetRequiredEnumerationSet(AFDatabase) method was added to the attribute trait class to allow clients to obtain the required enumeration set for a trait. When this method is called for the new health status trait, it will create the HealthStatus enumeration set which is required by this trait if it is not already defined. The new AFHealthStatus enumeration can be used to access values from this enumeration set.

The AFAttributeValueQueryID type and AFElementGetAttributeValues(PISystem, IListAFAttributeValueQueryID, Object, Boolean, WindowsIdentity) method have been added to retrieve attribute values in bulk from a list of element and attribute IDs.

The following methods have been added to support the ability to check out or delete items in bulk:

OSIsoft.AF.Data Namespace

The AFDataPipeRangeDeletedEvent class is used to represent the removal of a range of data.

OSIsoft.AF.Diagnostics Namespace

The AFSession class was added to support returning connection session information from the server.

OSIsoft.AF.EventFrame Namespace

The AFEventFrameGetAttributeValues(PISystem, IListAFAttributeValueQueryID, Object, Boolean, WindowsIdentity) method has been added to retrieve attribute values in bulk from a list of event frame and attribute IDs.

The following methods have been added to support the ability to check out or delete items in bulk:

OSIsoft.AF.Notification Namespace

The following methods have been added to support the ability to check out or delete items in bulk:

OSIsoft.AF.PI Namespace

The new AFSearchFilterID search filter has been added to allow searching for objects by their unique identifier.

Searching by attribute values no longer require that a template be specified. This means that the same attribute name can be queried across elements with different templates or no template specified. The following have been added to support this feature:

OSIsoft.AF.Time Namespace

The AFTimeRuleSimplifiedConfigString property was added to support exporting simplified configuration strings that do not contain IDs.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in