Manual dimensions

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

  • Manual dimensions

    is there another way to incorporate a manual dimension into my report besides a key in.

  • #2
    I would like to use the operator input if I can.

    Comment


    • #3
      Originally posted by hermworm View Post
      is there another way to incorporate a manual dimension into my report besides a key in.
      You could spend hours coding a convoluted tapestry of operator input, checking their input for numerical content only, dumping it into a generic feature's measured field, dimensioning it, etc, etc...

      ...and you're just replicating the Key In dimension.

      Comment


      • #4
        You could use an input comment and place that information in a generic feature or put it in a report comment as a variable. Generic Feature lets you have tolerances and out of tolerances flags. Comments lets you put in non-numeric features.

        Generic pseudo code
        c1.input = Widget measurement?

        Generic point

        X theo wideget measurement nominal, 0,0
        X c1.input,0,0

        Not anywhere near a machine but thats the gist of it.
        In either case it would be an extremely highly recommemded good practice to have some of code that checks to make sure that reasonable values are being entered.

        Comment


        • #5
          Code:
          C1 = Comment/Input
                 "Input Dimension XX manual measured value"
          
          Comment/report
                "Dimension XX manual measured value = " + C1.INPUT

          You can get fancy and add a validation loop into the comments as well. That way if a smart-alec wants to put in an expletive on the report, the joke is on them

          Code:
          c1prompt = Label
          C1 = Comment/Input
                 "Input Dimension XX manual measured value"
          If/C1.input-double(c1.input)<>0
          comment/oper
                  "Please input a numeric value, include decimal place."
          goto=c1prompt
          end_if/
          Comment/report
                "Dimension XX manual measured value = " + C1.INPUT

          Comment


          • #6
            Trace fields will do the same thing as well. They will then dump out in qccalc.

            C1 =COMMENT/INPUT,YES,FULL SCREEN=NO,
            'MO #'
            C2 =COMMENT/INPUT,YES,FULL SCREEN=NO,
            'EMPLOYEE #'
            C3 =COMMENT/INPUT,YES,FULL SCREEN=NO,
            'WORK CENTER #'
            C4 =COMMENT/INPUT,YES,FULL SCREEN=NO,
            'WORK OFFSET #'
            C5 =COMMENT/INPUT,YES,FULL SCREEN=NO,
            'JOB STATUS'
            C6 =COMMENT/INPUT,YES,FULL SCREEN=NO,
            'INSPECTION GAGE #'
            TRACEFIELD/NO_DISPLAY,LIMIT=15 ; MO # : C1.INPUT
            TRACEFIELD/NO_DISPLAY,LIMIT=15 ; EMPLOYEE # : C2.INPUT
            TRACEFIELD/NO_DISPLAY,LIMIT=15 ; WORK CENTER # : C3.INPUT
            TRACEFIELD/NO_DISPLAY,LIMIT=15 ; OFFSET # : C4.INPUT
            TRACEFIELD/NO_DISPLAY,LIMIT=15 ; JOB STATUS : C5.INPUT
            TRACEFIELD/NO_DISPLAY,LIMIT=15 ; INSPECTION GAGE # : C6.INPUT

            Comment


            • #7
              Thanks for the suggestions it helped lead me in the right direction.

              Comment


              • #8
                Originally posted by hermworm View Post
                is there another way to incorporate a manual dimension into my report besides a key in.
                Out of curiosity - what's your problem with KeyIn?
                AndersI
                SW support - Hexagon Metrology Nordic AB

                Comment


                • #9
                  I do not know who that is.I just started on this forum last week.

                  Comment


                  • BIGWIG7
                    BIGWIG7 commented
                    Editing a comment
                    YES. this is my favorite response on this forum so far.
                    I hate that KeyIn guy. He's such a random jerk.

                • #10
                  LOL!!!!!! I am an idiot!!!!!!! The reason I want to get away from key in is because it leaves to much for the operator to be able to change. I do not like the idea that the operator has the ability to change the nominal and tolerance. I am trying to remove as many operator variable steps as possible. It may be harder to program for me but the program will be more bulletproof.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X