AddPIValue Properties
- Last UpdatedDec 15, 2025
- 3 minute read
The AddPIValue type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Buffer | Write the value or values through PI Buffer Subsystem. If an unsupported version of buffering is being used, or buffering is not installed, an error will be returned. | |
| Connection | Specifies which connection to the PI Data Archive to use. | |
| IsQuestionable | Specify if the value or values should have the Questionable bit set | |
| PIPoint | PIPoint object or PIPoint object of PI Point to write to | |
| PointId | The PointID or PointIDs of the PI Point(s) to write to | |
| PointName | The name or names of the PI Point(s) to write to | |
| Stream | Stream object or Stream objects of PI Point to write to | |
| Time | Time or times to write at | |
| UseSystemState | Specify if the value or values should use the SYSTEM digital state when writing. | |
| Value | Value or values to write | |
| WriteMode | WriteMode or WriteModes to use when writing a value/values. If not specified, "Append" is the default. Valid options are: NoReplace : Add unless event(s) exist at same time Append : Add event, regardless of existing events Replace : Add event, replace if event at same time ReplaceX : Replace existing event, fail if not event at time Remove : Remove existing event AppendX : Same as append with no compression; that is, if this is the snapshot, force into archive |