AnsweredAssumed Answered

Change the value of multiple tags in PI ProcessBook using VBA

Question asked by CraigMcc92 on Dec 18, 2019
Latest reply on Dec 18, 2019 by gregor


I have a PI ProcessBook display using many multi-state tags and I'm looking to create a VBA script which will retrieve all the tags in the active processbook, get their values, then write new values to PI.


The tags can have 3 states - "open", "trip" and "closed". 


If the tag is "trip" Then change to "open" 

Else leave in the current state. 


Any help would be much appreciated.