PIPoint.InterpolatedValuesAtTimes Method
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: AFValuesReturns an AFValues collection with the interpolated values at the specified times.
Exceptions
| Exception | Condition |
|---|---|
| PIException | Error returned by the PI Data Archive. |
| ArgumentNullException | The times is . |
| ArgumentException | The times list must be monotonic. |
Remarks
| This method, property, or class is not available in the legacy .NET 3.5 version of the SDK. |