4 Replies Latest reply on Mar 4, 2018 4:10 PM by KenjiHashimoto

    Check reading errors in PSE

    eradwan

      Hi There,

       

      Is there a way to check when a property's value like this one is returning an error or bad reading; I  mean a function or formula that can be used to send email alerts whenever this such situation happens?

       

      Emad

       

        • Re: Check reading errors in PSE
          LalBabuShaik

          Hi Emad

           

          As per the attached screen shot, looks like PI Point is mapped AF attribute and not configured in AF analysis as an ouput tag. Could you please check the PI point configuration using SMT or PI Builder i.e. instrument tag /exdesc desc information if it is receiving data from source system?

            • Re: Check reading errors in PSE
              eradwan

              Hi Lal,

               

              Sorry, I forgot to mention that error value is normal and expected due to shutdown, my question is how to check from a formula or analysis so I can update another attribute with something like 'reason' code.

                • Re: Check reading errors in PSE
                  LalBabuShaik

                  Hi Emad

                   

                  You can use analysis BadVal function to check value and write any output attribute.

                  e.g.

                   

                  a) If BadVal('C2') Then " Reason Code" Else 'C2'

                  b) If 'C2'= "Error" Then "Reason Code" Else 'C2'

                   

                  If requirement says write digital state as an output you may use DigState functional to write any system digital states.

                  2 of 2 people found this helpful