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

AF SDK Reference

PIPoint.InterpolatedValuesAtTimes Method

  • Last UpdatedNov 18, 2025
  • 3 minute read
PIPoint.InterpolatedValuesAtTimes Method
Retrieves interpolated values at the specified times.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFValues InterpolatedValuesAtTimes(
	IList<AFTime> times,
	string filterExpression,
	bool includeFilteredValues
)
Public Function InterpolatedValuesAtTimes ( 
	times As IList(Of AFTime),
	filterExpression As String,
	includeFilteredValues As Boolean
) As AFValues

Dim instance As PIPoint
Dim times As IList(Of AFTime)
Dim filterExpression As String
Dim includeFilteredValues As Boolean
Dim returnValue As AFValues

returnValue = instance.InterpolatedValuesAtTimes(times, 
	filterExpression, includeFilteredValues)
public:
AFValues^ InterpolatedValuesAtTimes(
	IList<AFTime>^ times, 
	String^ filterExpression, 
	bool includeFilteredValues
)
member InterpolatedValuesAtTimes : 
        times : IList<AFTime> * 
        filterExpression : string * 
        includeFilteredValues : bool -> AFValues 

Parameters

times
Type: System.Collections.GenericIListAFTime
List of time stamps at which to retrieve interpolated values
filterExpression
Type: SystemString
A filter expression that follows the performance equation syntax.
includeFilteredValues
Type: SystemBoolean
Specify to indicate that values which fail the filter criteria are present in the returned data at the times where they occurred with a value set to a "Filtered" enumeration value with bad status. Repeated consecutive failures are omitted.

Return Value

Type: AFValues
Returns an AFValues collection with the interpolated values at the specified times.

Exceptions

ExceptionCondition
PIExceptionError returned by the PI Data Archive.
ArgumentNullException The times is .
ArgumentException The times list must be monotonic.

Remarks

Note Notes to Callers
This method, property, or class is not available in the legacy .NET 3.5 version of the SDK.

Version Information

AFSDK


See Also

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