Duration of the program in report

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Duration of the program in report

    Hello everyone,
    Do you have any idea how to insert value of duration of the measuring program in the report?
    Or just only how to get this value duration time?

    VERSION: PC-DMIS 2019 R2

  • #2
    To apply it to a single program, you can add the ELOGO.lbl label to the end of the report. INSERT>REPORT COMMAND>LABEL and then select ELOGO.lbl

    Code:
    REPORT/LABEL, FILENAME= ELOGO.LBL
    To add the label to all of your programs it would be better to edit whichever report template you are using and add the label to the end of that.

    Comment


    • AndersI
      AndersI commented
      Editing a comment
      Good idea! I never thought of doing it that way - I began thinking about StopTime - StartTime and a lot of code...

  • #3
    I think that this is what you want. This gives you the execution time of the program.

    ASSIGN/V100=ELAPSEDEXECUTIONTIME()
    COMMENT/REPT,
    "RUN TIME: "+V100
    Time for the Trolls to leave.

    Comment


    • #4
      try this I put this at end of every program




      $$ NO,


      paste this at end of program




      ASSIGN/RUNTIME=GETPROGRAMINFO("ELAPSEDTIME")
      ASSIGN/NUMMEAS=GETPROGRAMINFO("NUMMEAS")
      ASSIGN/NUMOUT=GETPROGRAMINFO("NUMOOT")
      COMMENT/REPT,
      **********************
      "~~1 Run Time : "+ RUNTIME
      COMMENT/REPT,
      **********************
      "NUMBER OF DIMENSIONS EXECUTED : "+ NUMMEAS
      COMMENT/REPT,
      **********************
      "~~4 NUMBER OF DIMENSIONS OUT OF TOLERANCE : "+
      Michael A Wildschutz Sr
      I Walk on The WildSide
      "To Each is Own"

      Comment

      Related Topics

      Collapse

      Working...
      X