1 Reply Latest reply on Jul 26, 2017 1:20 PM by pmartin

    Processbook Multistate

    Sreeni13

      Hello,

           Is there anyway to make the multistate in processbook to auto update when my tag span or tag zero is changed from PI SMT.

      Thanks in advance.

      R.Sreenivas

        • Re: Processbook Multistate
          pmartin

          Hello,

           

          As far as I know, ProcessBook won't do this for you.  You'll need to write a little custom code but it shouldn't be too difficult.

           

          Set a timer to run a snippet of code every minute or whatever amount of time you determine is necessary.  Using the SDK, get the span of a point by using pt.PointAttributes.Item("span").  If this span is different, use the MultiState's DefineState method to update your multistate.

          1 of 1 people found this helpful