Click or drag to resize
OSIsoft, LLC

PIPointRecordedValue Method

Returns a single recorded AFValue based on the passed time and mode.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public AFValue RecordedValue(
	AFTime time,
	AFRetrievalMode mode = AFRetrievalMode.Auto


Type: OSIsoft.AF.TimeAFTime
The time at which the value is desired.
mode (Optional)
Type: OSIsoft.AF.DataAFRetrievalMode
The mode is used to determine the value to return when a value does not exist at the exact time specified. The value is taken from the AFRetrievalMode enumeration.

Return Value

Type: AFValue
Returns the AFValue for the PI point. The time stamp of the value will indicate the time of the recorded event.
PIExceptionError returned by the PI Data Archive.

Note Notes to Callers
This method, property, or class is only available in the .NET 4 version of the SDK.

Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence