PIPoint.InterpolatedValue Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Returns a single AFValue whose value is
interpolated at the passed time.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFValue InterpolatedValue( AFTime time )
Public Function InterpolatedValue ( time As AFTime ) As AFValue Dim instance As PIPoint Dim time As AFTime Dim returnValue As AFValue returnValue = instance.InterpolatedValue(time)
public: AFValue^ InterpolatedValue( AFTime time )
member InterpolatedValue : time : AFTime -> AFValue
Parameters
- time
- Type: OSIsoft.AF.TimeAFTime
The time at which the value is desired.
Return Value
Type: AFValueReturns the AFValue for the PI point. The time stamp of the value will be at the requested time.
Exceptions
| Exception | Condition |
|---|---|
| PIException | Error returned by the PI Data Archive. |
Remarks
| This method, property, or class is not available in the legacy .NET 3.5 version of the SDK. |