We have operators run their own parts on the cmm's here and I'm looking for a way to fool proof their pass/fail of parts they run.
So far I've tried pop up messages based on GETPROGRAMINFO("NUMOOT") but that sometimes returns 'extra' results that are bad (features that have reporting shut off such as threaded hole diameters) and that misleads the operators.
I've also tried stats output into QC Calc software (similar to datapage) but that has similar issues.
The PDF reports themselves are what we call king but sometimes they're too long for the operators to diligently look through for OOT features.
My thoughts now are to display an out-of-tolerance-only report that shows them what is out of tolerance but also give them the option to see the full report as well, or a custom report that has OOT at the top, followed by the full report or lastly giving them the option to choose which report they see.
I have PDF printing of two differently-named reports working but I can't get the report template to change.
Any help on fixing that PDF printing or how to combine the two reports into one, or how to change the displayed report?
This is what I have so far. It prints a report with two different names but the same content:
So far I've tried pop up messages based on GETPROGRAMINFO("NUMOOT") but that sometimes returns 'extra' results that are bad (features that have reporting shut off such as threaded hole diameters) and that misleads the operators.
I've also tried stats output into QC Calc software (similar to datapage) but that has similar issues.
The PDF reports themselves are what we call king but sometimes they're too long for the operators to diligently look through for OOT features.
My thoughts now are to display an out-of-tolerance-only report that shows them what is out of tolerance but also give them the option to see the full report as well, or a custom report that has OOT at the top, followed by the full report or lastly giving them the option to choose which report they see.
I have PDF printing of two differently-named reports working but I can't get the report template to change.
Any help on fixing that PDF printing or how to combine the two reports into one, or how to change the displayed report?
This is what I have so far. It prints a report with two different names but the same content:
Code:
DIM ID100= 2D DISTANCE FROM POINT ORING1 TO POINT ORING2 PAR TO ZAXIS,NO_RADIUS UNITS=IN,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH AX NOMINAL +TOL -TOL MEAS DEV OUTTOL M 0.05200 0.00200 0.00200 0.05200 0.00000 0.00000 --#-- DIM ID100= 2D DISTANCE FROM POINT ORING1 TO POINT ORING2 PAR TO ZAXIS,NO_RADIUS UNITS=IN,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH AX NOMINAL +TOL -TOL MEAS DEV OUTTOL M 1.00000 0.00200 0.00200 0.05200 -0.94800 0.94600 <---- $$ NO, PRINT GOOD REPORT HERE NORMTEMPLATE=REPORT/TEMPLATE, FILENAME= TEXTONLY_TEMCO.RTP, Section=-1,REPORTMODE=SWITCH PARAM/= ENDREPORT/ REFRESH1 =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS FUNCTION/Main,SHOW=NO,, STARTSCRIPT/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,OVERWRITE=C:\Users\qcg\Desktop\NORMAL.PDF,AUTO OPEN REPORT=OFF,$ TO_PRINTER=OFF,COPIES=1,$ TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ TO_EXCEL_OUTPUT=OFF,$ PREVIOUS_RUNS=KEEP_INSTANCES $$ NO, CLEAR PRINTER QUEUE REFRESH2 =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS FUNCTION/Main,SHOW=NO,, STARTSCRIPT/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=OFF,AUTO=1,AUTO OPEN REPORT=OFF,$ TO_PRINTER=OFF,COPIES=1,$ TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ TO_EXCEL_OUTPUT=OFF,$ PREVIOUS_RUNS=DELETE_INSTANCES $$ NO, PRINT BAD REPORT BELOW ASSIGN/OOT=GETPROGRAMINFO("NUMOOT") IF_GOTO/OOT=="0",GOTO = NO_PRINTOOTTEMPLATE=REPORT/TEMPLATE, FILENAME= TEXTANDCAD_OOT.RTP, Section=-1,REPORTMODE=INSERT PARAM/= ENDREPORT/REFRESH3 =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS FUNCTION/Main,SHOW=NO,, STARTSCRIPT/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,OVERWRITE=C:\Users\qcg\Desktop\OOT.PDF,AUTO OPEN REPORT=OFF,$ TO_PRINTER=OFF,COPIES=1,$ TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ TO_EXCEL_OUTPUT=OFF,$ PREVIOUS_RUNS=KEEP_INSTANCES NO_PRINT =LABEL/ REFRESH4 =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS FUNCTION/Main,SHOW=NO,, STARTSCRIPT/
Comment