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.