5 Replies Latest reply on Oct 22, 2017 8:15 AM by Aysha

    PIPoint.Data.UpdateValue every time it runs, it seems to delete the previous older TimeStamp each time it puts in the new value with the current TimeStamp.

    avinash.pise

      I am using Following code line in vb.net to update a PI tag value.

       

      PIPoint.Data.UpdateValue(CalcValue,TimeStamp, PISDK.DataMergeConstants.dmReplaceDuplicates,Nothing)

       

      I am wondering this code is working fine for last two days

      NOW, every time it runs, it seems to delete the previous older TimeStamp each time it puts in the new value with the current TimeStamp.


      Tag Configuration in PI System

                                                  

      Select (x)Tagarchivingchangedatechangercompdevcompdevpercentcompmaxcompmincompressingconverscreationdatecreatordatasecuritydescriptordigitalsetdisplaydigitsengunitsexcdevexcdevpercentexcmaxexcminexdescfiltercodeinstrumenttaglocation1location2location3location4location5pointidpointsourcepointtypeptclassnameptsecurityrecnoscanshutdownsourcetagspansquarerootsrcptidsteptotalcodetypicalvalueuserint1userint2userreal1userreal2zero
      xFBU_TestTag102-Jan-15 10:52:09HIS0664\Administrator222880001102-Jan-15 10:52:09HIS0664\Administratorpiadmin: A(r,w) | piadmins: A(r,w) | PIWorld: A(r)Test Tag For Calculation -5 116000 0 0201073Cfloat32classicpiadmin: A(r,w) | piadmins: A(r,w) | PIWorld: A(r)2811 10000005000000

       

      Thanking You

      Avinash Pise