How to create Dropbox to select version of part

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

  • How to create Dropbox to select version of part

    I am looking to use a drop down menu of sorts at the start of a program that will prompt the operator to select which version of part they are measuring.

    As an example say I have 5 parts that are all the same dimensionally except one ID that changes. Instead of having a separate program for each part, how would I go about having a single program that based on the operator selecting the given part number the program will understand which diameter they will be measuring.

    I have seen several posts about drop downs but nothing that seems to fit what I am looking to do. I really appreciate your help!!

    Thanks,

  • #2
    Forms are really nice for something like this. I added a prompt at the beginning of our calibration program that asks if a probe was broken. If yes, a drop down menu appears where they can select a specific probe. It then removes that probe from my inventory list. Forms are almost limitless on what you can accomplish, you may need to play around with it until you get what you're looking for.

    Comment


    • #3
      An easier solution would be adding an Input Comment at the beginning of the program that says something to the effect of...

      Assign/PARTNUM=""
      Assign/CIRDIA=""
      REDOPARTNUM Label/
      C1 comment input.....
      Which part number do you intend on running? (Enter numbers 1-5)
      1.) 1st part number
      2.) 2nd part number
      and so on..
      If/C1.INPUT==1
      Assign/PARTNUM="Whatever part1 is"
      Assign/CIRDIA=Part1 Diameter
      goto/PARTNUMFOUND
      ​​​​​​​End/if
      If/C1.INPUT==2
      Assign/PARTNUM="Whatever part2 is"
      ​​​​​​​Assign/CIRDIA=Part2 Diameter
      goto/PARTNUMFOUND
      ​​​​​​​End/if
      If/C1.INPUT==3
      Assign/PARTNUM="Whatever part3 is"
      ​​​​​​​Assign/CIRDIA=Part3 Diameter
      goto/PARTNUMFOUND
      ​​​​​​​End/if
      If/C1.INPUT==4
      Assign/PARTNUM="Whatever part4 is"
      ​​​​​​​Assign/CIRDIA=Part4 Diameter
      goto/PARTNUMFOUND
      ​​​​​​​End/if
      If/C1.INPUT==5
      Assign/PARTNUM="Whatever part5 is"
      ​​​​​​​Assign/CIRDIA=CIRD5 Diameter
      goto/PARTNUMFOUND
      ​​​​​​​End/if
      Comment Oper "Please enter numbers 1-5 only."
      Goto/REDOPARTNUM
      PARTNUMFOUND Label/

      Program here.
      Add CIRDIA variable to the diameter of the circle that changes.

      Comment

      Related Topics

      Collapse

      Working...
      X