AnsweredAssumed Answered

Datalink get value from another tag if bad

Question asked by MFuad on Oct 17, 2016
Latest reply on Oct 25, 2016 by Eugene Lee

Hi guys, i've been doing few automation with datalink and vba. One of the module is to get a value from another tag, if the intended tag is bad.

So far i've manage to achieve this, by checking the results of PiArcVal. If its not numeric, the vba will then rerun the PIArcVal with another tag. But problem happen when the module meet a String type tag. It will get the value from another tag, even though the intended tag is good value(but it's a string).


Any suggestion on any logic that i can do to attend this matter?



Many thanks in advance!