hexagon logo

Report Pop Up

Would the following even work?

I would like the operator to review the report, insert a comment at the end and the print it to a pdf. Our process is to run a part, read a report after it prints and the program is complete, and then gage any diameters that appear to be out. We need a comment at the end of the report that states the part was gaged. Any thoughts??

I've been playing with a few things but cannot get what I want exactly.

Thanks in advance.

No pressure, but this is HOT.
Parents
  • $$ NO,
                =====
                =====
                ASSIGN/DATE=SYSTEMDATE("ddMMMyyyy")
                ASSIGN/TIME=SYSTEMTIME("HH:mm")
                ASSIGN/[B][I][COLOR="#FF0000"]PDFNAME[/COLOR][/I][/B]="K:\Folder1\Folder2\Folder3\\"+"PartName_"+JOB+"_"+SERNO+"_CNC_"+CNC+"_Plt_"+PALLET+"_"+DATE+".PDF"
    $$ NO,
                =====
                PRINT/REPORT,EXEC MODE=END,$
                  TO_FILE=ON,OVERWRITE=PDFNAME,$
                  TO_PRINTER=OFF,$
                  TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$
                  REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                  PREVIOUS_RUNS=KEEP_INSTANCES


    As you can see this is our code to create and save our pdfs. Is there a way to use the variable (in red) in the script to open that pdf? This is exactly what I need.

    So it would run part, create and save report, and then open the report it just created.
Reply
  • $$ NO,
                =====
                =====
                ASSIGN/DATE=SYSTEMDATE("ddMMMyyyy")
                ASSIGN/TIME=SYSTEMTIME("HH:mm")
                ASSIGN/[B][I][COLOR="#FF0000"]PDFNAME[/COLOR][/I][/B]="K:\Folder1\Folder2\Folder3\\"+"PartName_"+JOB+"_"+SERNO+"_CNC_"+CNC+"_Plt_"+PALLET+"_"+DATE+".PDF"
    $$ NO,
                =====
                PRINT/REPORT,EXEC MODE=END,$
                  TO_FILE=ON,OVERWRITE=PDFNAME,$
                  TO_PRINTER=OFF,$
                  TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$
                  REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                  PREVIOUS_RUNS=KEEP_INSTANCES


    As you can see this is our code to create and save our pdfs. Is there a way to use the variable (in red) in the script to open that pdf? This is exactly what I need.

    So it would run part, create and save report, and then open the report it just created.
Children
No Data