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:
public void UpdateValue(
	AFValue value,
	AFUpdateOption option,
	AFBufferOption bufferOption


Type: OSIsoft.AF.AssetAFValue
The value to be written, replaced, or removed in the PI Data Archive.
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.
Type: OSIsoft.AF.DataAFBufferOption
An enumeration value that specifies buffering option.
ArgumentNullException The value is .
PIExceptionError returned by the PI Data Archive.

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


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