PISDK - write historical value into PI Points and trigger the associated Alarm Tag

Discussion created by jamliu on Sep 17, 2013
Latest reply on Sep 19, 2013 by jamliu

Hi guys,


I am working on a code to insert the historical value into PI tags, but need to trigger the associated Alarm Tags to be updated when a new "historical" value inserted. Does anyone know how can I insert the historical value through the snapshot so the Alarm Tag can be triggered even though the value's timestamp is older than the current time. From the PI SDK help doc, i found the following description for the UpdateValues(), but not very sure if this is the best way to do this, or should I just update the alarm tag's value through the code whenever a value is inserted to the source tag and be done with it?


Send one or more values (snapshot or archive) to the PI Server.


Thank you.