Click or drag to resize
OSIsoft, LLC

PIPointListRecordedValue Method

Returns an AFListResultsTKey, TResult containing list of AFValue objects corresponding to the archive value for the PIPoint objects in the list for the requested time and AFRetrievalMode. The order of the AFValue objects in the return list is the same order as the corresponding PIPoint in the PIPointList. Point level error and PIServer level errors can be accessed in the AFListResultsTKey, TResult

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public AFListResults<PIPoint, AFValue> RecordedValue(
	AFTime requestedTime,
	AFRetrievalMode mode = AFRetrievalMode.Auto
)

Parameters

requestedTime
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: AFListResultsPIPoint, AFValue
A list of AFValue objects representing the archive values for the PIPoint objects in the list. The results are returned as an AFListResultsTKey, TResult object. If any point level or server level errors occur, they added to the corresponding error collections in the AFListResultsTKey, TResult
Version Information

AFSDK

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