4 Replies Latest reply on Dec 23, 2015 8:54 AM by Argel

    Get PI Tag Current Value in PB VBA without using "Value" textboxes

    Argel

      Hello everyone!

       

      I want to do the following:

      1. I have a rectangle

      2. I want to Hide/Unhide the rectangle based on the value of a PI tag. Lets say if PItag value > 50 then Hide the rectangle.

      3. I dont want to use a "value" textbox from processbook because I dont really want to see the value of the tag on my display. I just want to be all in VBA.

       

       

      How can I do this? To get the value of a PI tag and use it for my if statement without displaying the actual value on the PB Display.