[Sh...] Posted January 4 Share Posted January 4 Hello. I am wondering if anyone has any experience with creating a PCM code that will save a green report (Good Part PDF) while a red report (Nonconforming Part PDF) does not get saved. Any information would be great. Thanks Link to comment Share on other sites More sharing options...
[Cl...] Posted January 5 Share Posted January 5 No, but this may work for you. I had kind of the same question last year and got this answer from Germany. Save the measurement report in different folders, depending on whether it is in, or out of tolerance, or in the warning limit. viewtopic.php?t=9870 Link to comment Share on other sites More sharing options...
[Je...] Posted January 6 Share Posted January 6 Please sign in to view this quote. if (inspectionToleranceState("outOfTolerance") > 0) or (inspectionToleranceState("noResult") >0) then Link to comment Share on other sites More sharing options...
[Je...] Posted January 6 Share Posted January 6 Please sign in to view this quote. Guenter had a great idea. Personally, my preference would be to use PCM logic in a "report_end_pcm.txt" to copy/move or delete a file based on a passed variable status. Example of how the post-settings would establish that status would be: if (inspectionToleranceState("outOfTolerance") > 0) or (inspectionToleranceState("noResult") >0) then setRecordHead("vda_remark","FAIL") else setRecordHead("vda_remark","GOOD") endif replace "inspectionToleranceState()" with getRecordHead("vda_remark") to utilize "FAIL" and "GOOD" identified folders. You can also modify the file name in the same manner. 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