AnsweredAssumed Answered

PIPoint values when deleting and recreating PIPoints

Question asked by PetterBrodin on May 4, 2015
Latest reply on May 5, 2015 by bshang

Hi all!


If I create multiple PIPoints with the PIServer.CreatePIPoints method, they will all have their current value as "Pt Created" and their timestamp as the datetime when they were created. I can then delete them with the PIServer.DeletePIPoints, which runs without any errors.


My problems start when I run the code to create the PIPoints again. I create the points with the exact same code as above, but when I look at the timestamps and the values, they're no longer marked as "Pt Created", they have the value of 2,1472E+09, and are timestamped 01.01.1970 01:00:00.


The documentation for the DeletePIPoints method says that "Each PIPoint identified by the specified list of names will be permanently deleted from the PIServer. ", but it looks like there are still some form of "leftovers" or other effects from the PIPoints that were previously created.


Does anyone know what's happening, and how it can be avoided?