write
Description
write(
writes the data specified in piClientObj,tagName,data)data to the tag specified in
tagName at the current timestamp. The client specified in
piClientObj must be connected to AVEVA® PI Data Archive containing the specified tag. You can write data to only one
tag at a time.
write(
writes data with additional options specified by one or more name-value arguments. For
example, to overwrite data in a tag, set piClientObj,tagName,data,Name=Value)Overwrite to
true.
Note
You must install the AF SDK library to use this function. For more information, see AF SDK Overview.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2024a