Jump to content

Hide Cp/Cpk if there is only one sided tolerance


---
 Share

Recommended Posts

Hey everyone,

quick question: I got a code from Zeiss that’s supposed to hide Cp/Cpk results if we have a one-sided tolerance. Right now, it only works when the nominal is 0.0000. Is there a way to fix this, or is this the limit of PiWeb?

The Code : ${if Equal(ToString(Qdb.Characteristic(2120)), "Natürliche Grenze") then false else true}

Thanks in advance!

ES.JPG

21.JPG

xs.JPG

Link to comment
Share on other sites

Hi, this is expected behaviour, as you have defined a lower tolerance. If you also want to filter the characteristics with a lower tolerance of 0, you can use the following expression: ${if AnyOf(Equal(ToString(Qdb.Characteristic(2120)), "Natürliche Grenze"), Equal(Qdb.Characteristic(2112), 0)) then false else true}

  • Thank you! 1
Link to comment
Share on other sites

Please sign in to view this quote.

Hey Dogan, 

Thank you very much for your response, it worked exactly like i wanted it ❤️

Link to comment
Share on other sites

  • 2 weeks later...

Please sign in to view this quote.

Hey again, 

after trying to export it today, the hidden values were shown,

am i doing something wrong here and is there another possible fix?

Thanks in Advance

Link to comment
Share on other sites

 Share

×
×
  • Create New...