Click or drag to resize
OSIsoft, LLC

PIPointUpdateValue Method (AFValue, AFUpdateOption, AFBufferOption)

This method writes or replaces a value in the PI Data Archive.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public void UpdateValue(
	AFValue value,
	AFUpdateOption option,
	AFBufferOption bufferOption
)

Parameters

value
Type: OSIsoft.AF.AssetAFValue
The value to be written, replaced, or removed in the PI Data Archive.
option
Type: OSIsoft.AF.DataAFUpdateOption
An enumeration value that specifies how to treat duplicate values in the archive. It can also be used to specify that an existing value should be removed.
bufferOption
Type: OSIsoft.AF.DataAFBufferOption
An enumeration value that specifies buffering option.
Exceptions
ExceptionCondition
ArgumentNullException The value is .
PIExceptionError returned by the PI Data Archive.
Remarks

For successful data write through Buffer, this method requires that PI Buffer Subsystem (PIBufSS) needs to be correctly pre-configured with Buffering Manager. Currently, buffering data through PIBufSS has a limitation where error feedback from PI Data Archive cannot be returned to the caller.

Data write through Buffer will be fanned to Collective members.

Important note Important
Exception reporting is not handled automatically by the AF SDK. Historically, exception reporting has been handled by the application writing data (i.e. Uniint-based interfaces).

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