rarmstrong3@slb.com

The Meaning of AFUpdateOption.Replace

Discussion created by rarmstrong3@slb.com on Apr 29, 2014
Latest reply on Apr 29, 2014 by ekuwana

I am using the following command to write values to PI:

 

server.UpdateValues(pivalues, OSIsoft.AF.Data.AFUpdateOption.Replace)

 

I noticed that sometimes I get two values at the same timestamp but different values.

 

The 'substituted' flag is not set for either value.

 

I would have expected the second value to "replace" the first.

 

Am I misunderstanding how PI works?

 

BTW: compression is disabled for the PI points in question.

Outcomes