PI Connector Relay support write modes
While writing data to PI through the connector relay there seems to be no option to control the write mode . E.g."[-109] Value at This Time Already Exists" is shown in the logs if the archive already contains an event with the same timestamp. The default update option can be "Replace" instead of NoReplace. Other write options can be made configurable.
i think this request is related to https://feedback.osisoft.com/forums/555139-pi-connectors/suggestions/41720188-implement-the-option-to-choose-between-append-or-r
So it might be useful to merge to get a better view about the need for this requirement.
Joshua Duncan commented
I'd like to add to this suggested improvement. I'm using PI System Connector and ran into a scenario where the archive modes are necessary. I have an OPC Alarm and Events interface pushing to a "source" PI Data Archive and System Connector/Relay sends to a "destination" PI Data Archive. There are events that occur at the exact same timestamp that are substituted by default at the destination. Having the archive modes (similar to the PI to PI interface) would be ideal:
ARCNOREPLACE add unless event(s) exist at same time (PI 2.x)
ARCAPPEND add event regardless of existing events.
ARCREPLACE add event, replace if event at same time.
ARCREPLACEX replace existing event (fail if no event at time)
ARCDELETE remove existing event.
ARCAPPENDX add event regardless of existing events, with no compression.