AnsweredAssumed Answered

VBA code for small PI decimal data value change (Dataset)

Question asked by Bille Champion on Aug 10, 2017
Latest reply on Aug 11, 2017 by Bille

Hello All,


I observed this line of VBA code (if tagval('tag1')= tagval('tag1','*-600s') then 1 else if tagval('tag1') < 110 then 2 else if tagval('tag1') > 122 then 3 else 4) doesn't change for a small decimal change of PI tag value. What can I do for it detect small decimal changes like 109.23, 109.33, 109.45 etc