AnsweredAssumed Answered

How do I select the Element for an Element Relative Processbook Display with VBA?

Question asked by DavidMFairchild on Jun 25, 2020
Latest reply on Jun 29, 2020 by gregor

I am using PI-Processbook to monitor the health of our PI System.  We have four PI-DA servers, four PI-AF servers, etc.  Our PI server structure is modeled in PI-AF.  I want to use one Element Relative display to display all of the attributes from each of servers of that type.  For instance I have one Data Archive display with trends and values relative to a PI Data Archive.  I have one display with Rectangles for every server showing the status of each server using Multi-State.  I want to be able to click on one of the Rectangles and have Processbook open the appropriate display and change the relative element to the element for the for the specific server I selected.


I'm handling the selection with the Click event and don't have any problem opening the appropriate display but I have been unable to get the selected element set for the display.


thanking you in advance,