[Da...] Posted March 3, 2020 Share Posted March 3, 2020 I know the easy answer is probably that I need PCM to do this, does anyone know of a way I can report a pass/fail result on the PiWeb Report? I would like to have PiWeb report either "PASS" or "FAIL" for a particular characteristic depending on whether it is in or out of tolerance. Link to comment Share on other sites More sharing options...
[Ma...] Posted March 9, 2020 Share Posted March 9, 2020 Can be done with user_fields Create new userfield like "u_status" In PiWeb you can print it "${Qdb.Property("u_status")}" In Calypso use ElementResult and write formula "setRecordHead("u_status", "PASS")" You can create two elements and add condition to them: inStr(inspectionToleranceState(), "inTolerance") -> it says 0 for FAIL and 1 for PASS Link to comment Share on other sites More sharing options...
[La...] Posted March 9, 2020 Share Posted March 9, 2020 Put an If equal where if the number of failed characteristics is equal to 0 then "PASS". Link to comment Share on other sites More sharing options...
[Lu...] Posted March 15, 2020 Share Posted March 15, 2020 Yes but this will assess all the characteristics including eg. graphical elements (curve forms etc) also something that you don't want to see on your report . So not the greatest solution. "inspectionToleranceState" works globally and returns 0 or 1 from all the elements in characteristic group . Imagine if you want to measure something but avoid displaying it on your report. (eg size of the holes for your MMC modifier) and this fails. Then all your report will FAIL. Link to comment Share on other sites More sharing options...
[Ma...] Posted March 16, 2020 Share Posted March 16, 2020 And if you turn off tolerances for measuring diameter of feature? 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