[Si...] Posted January 13 Share Posted January 13 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! Link to comment Share on other sites More sharing options...
[Do...] Posted January 15 Share Posted January 15 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} 1 Link to comment Share on other sites More sharing options...
[Si...] Posted January 15 Author Share Posted January 15 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 More sharing options...
[Si...] Posted January 26 Author Share Posted January 26 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 More sharing options...
[Do...] Posted January 27 Share Posted January 27 Enable dynamic value and paste your condition into the text input field. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in