Sub: pass fail no required

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

  • Sub: pass fail no required

    Hi guys

    I need Ur support in this situation

    In my program 100 results available in that how many pass how many fail I need number in my report is it possible to do that.

  • #2
    Go to EDIT>PREFERENCES>EDIT WINDOW LAYOUT and make sure "show header/footer" is checked. After you've executed the routine, there will be a summary at the bottom of the edit window showing the total number of features measured and the total out of tolerance.
    Neil Challinor
    PC-DMIS Product Owner

    T: +44 870 446 2667 (Hexagon UK office)
    E: Neil.Challi[email protected]

    Comment


    • #3
      Originally posted by neil.challinor View Post
      Go to EDIT>PREFERENCES>EDIT WINDOW LAYOUT and make sure "show header/footer" is checked. After you've executed the routine, there will be a summary at the bottom of the edit window showing the total number of features measured and the total out of tolerance.
      The question is how to get that data onto the report.

      I believe this has to be done with statements. I'm running a program offline right now so I am unable produce the code
      Jesse Krook

      Comment


      • #4
        Yes I want In my report

        Comment


        • #5
          At the end of the program go to INSERT>REPORT COMMAND>REPORT LABEL and select the ELOGO.lbl
          Neil Challinor
          PC-DMIS Product Owner

          T: +44 870 446 2667 (Hexagon UK office)
          E: [email protected]

          Comment


          • YGOLORTEM
            YGOLORTEM commented
            Editing a comment
            That's excellent

        • #6
          Or add this for Trace Fields:

          $$ NO,
          Routine Report Footer
          ROUTINE_REPORT_FOOTER_GRP1=GROUP/SHOWALLPARAMS=YES
          REPORT_FOOTER_L1 =LABEL/
          ASSIGN/NUMMEAS_V1=GETPROGRAMINFO("NUMMEAS")
          ASSIGN/NUMOOT_V1=GETPROGRAMINFO("NUMOOT")
          ASSIGN/ELAPSEDTIME_V1=GETPROGRAMINFO("ELAPSEDTIME")
          ASSIGN/ELAPSEDTIME_V2=ELAPSEDEXECUTIONTIME()
          COMMENT/REPT,
          "Estimated Number Measured: "+NUMMEAS_V1
          IF/NUMOOT_V1 < 1
          COMMENT/REPT,
          "Estimated Number Out of Tolerance: "+NUMOOT_V1
          END_IF/
          ELSE_IF/NUMOOT_V1 > 0
          COMMENT/REPT,
          "~~4 Estimated Number Out of Tolerance: "+NUMOOT_V1
          END_ELSEIF/
          COMMENT/REPT,
          "Routine Elapse Time: "+ELAPSEDTIME_V2
          TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE="Estimated Number Out of Tolerance: " ; Estimated Number Out of Tolerance : NUMOOT_V1
          TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE="Estimated Number Measured: " ; Estimated Number Measured : NUMMEAS_V1
          TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE="Routine Elapse Time: " ; Routine Elapse Time : ELAPSEDTIME_V2
          COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
          Routine Execution Complete.
          .
          Note:
          REPORT_FOOTER_L2 =LABEL/
          ENDGROUP/ID=ROUTINE_REPORT_FOOTER_GRP1

          This will then be shown within Hexagon SFx Event Log.
          Last edited by davehocum; 08-04-2020, 01:43 PM.

          Comment


          • #7
            Put this at the bottom of the program.
            If it doesn't work when you first type it in try rerunning to program or reexecuting the dimensions

            ASSIGN/V1=GETPROGRAMINFO("NUMOOT")
            COMMENT/REPT,
            "Number out of tolerance= " +V1

            Comment


            • #8
              I tried this code in my program wow it's working thank you guys for your wonderful support

              Comment

              Related Topics

              Collapse

              Working...
              X