Jump to content

PCM Coding


---
 Share

Recommended Posts

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

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

Please sign in to view this quote.

if (inspectionToleranceState("outOfTolerance") > 0) or (inspectionToleranceState("noResult") >0) then
Link to comment
Share on other sites

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

 Share

×
×
  • Create New...