Typing a response in report

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

  • Typing a response in report

    I want to be able to type in an answer to a question in the report.
    Ex. Was part measured before or after coating?
    or
    Ex. type in material alloy
    or a number of yes or no questions

    I know about the manual Keyin Dimension, but I don't think I can type words into that.

  • #2
    Ok, never mind I actually found it.

    If you make a comment you can choose Input or Yes-No.
    Make sure you check the box to have it display on the report.
    Last edited by Calvin.Korver; 05-25-2020, 05:04 PM.

    Comment


    • Schrocknroll
      Schrocknroll commented
      Editing a comment
      For yes or no question, that is the way to go.

  • #3
    There are also Input comments where the can type other answers. You can ask, "What did dimension xxx measure with shadowgraph?" Then you can you can display the input in the report., or you can create a generic feature with that dimension and dimension it with tolerance.
    PC-DMIS 2016.0 SP8

    Jeff

    Comment


    • #4
      Below is a basic code. This should get you started, if you need any clarification/want to get more or less fancy with it, let me know and we can tweak it in for you.

      Code:
      C1 =COMMENT/INPUT,NO,FULL SCREEN=NO,
      Was part measured before OR after coating?
      
      Type correct response and press OK.
      
      1--> Before Coating
      
      2--> After Coating
      SELECT/C1.INPUT
      CASE/1
      ASSIGN/V1="Part was measured before coating"
      COMMENT/REPT,
      V1
      END_CASE/
      CASE/2
      ASSIGN/V1="Part was measured after coating"
      COMMENT/REPT,
      V1
      END_CASE/
      DEFAULT_CASE/
      COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
      Invalid input, try again!
      GOTO/C1
      END_DEFAULTCASE/
      END_SELECT/

      Comment


      • #5
        From DAN_M idea :
        Code:
        C1 =COMMENT/INPUT,NO,FULL SCREEN=NO,
        Was part measured before OR after coating?
        
        Type correct response and press OK.
        
        1--> Before Coating
        
        2--> After Coating
        
        IF/C1.INPUT==1
        ASSIGN/V1="before"
        END IF
        IF/C1.INPUT==2
        ASSIGN/V1="after"
        END IF
        COMMENT/OPER,[COLOR=#ff0000]YES[/COLOR],FULL SCREEN=NO,AUTO-CONTINUE=NO,...........................Yes in red allows displaying on the report...
        "Part was measured " + V1 + " coating"

        Comment


        • #6
          Alright! Thanks, guys I had something that would work, but your way looks quite a bit more professional.

          Comment


          • DAN_M
            DAN_M commented
            Editing a comment
            There's plenty of ways to get from A-Z with PC DMIS! Glad we could help.

        Related Topics

        Collapse

        Working...
        X