Click or drag to resize
OSIsoft, LLC

AFEventFrameCaptureValues Method

Capture and cache the AFAttribute values with a AFDataReference using the default non-cached data provider.

Namespace:  OSIsoft.AF.EventFrame
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
public void CaptureValues()
Exceptions
ExceptionCondition
NotSupportedException This exception is thrown when the EFAttributeValueCapture feature is not enabled on the PI AF Server.
InvalidOperationException This exception is thrown when the EndTime has not been set. You must set the EndTime before calling this method.
Remarks

This method will capture and cache the AFAttribute values with an AFDataReference for the event frame. The cached values are automatically updated when its StartTime or EndTime is modified after the values have been captured.

If this method is called and the EndTime has not been set, then an exception is thrown. See AreValuesCaptured for more information.

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
See Also
Enabling Operational Intelligence