Form Editor

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

  • Form Editor

    I have to give a huge shout out to InspectorJester what a smart kid, with his help I was able to get a Form Editor, functioning popup at the beginning of my program to choose different ops to run inside the program. I hope he takes the time to share with everyone that does not know this. Now I myself made it look fancy, but he helped me get it to function. Thank You Jester. Not done with it yet, but there's a taste of my finally functional buttons

    Capture.JPG
    Last edited by KIRBSTER269; 07-18-2018, 01:11 PM.
    (In Memory of my Loving wife, "Ronda" who I lost March 7, 2016. I love you baby.)
    They say "Nobody's Perfect." I must be Nobody.

  • #2
    Ok sometime InspectorJester will guide you through how to get your buttons to function correctly, If he for some reason misses anything. I will dumb it down for the rest of us or fill in the blanks. As for now, I can help make it look a little more presentable, but be WARNED. When you put this on other computers(CMM) or even offline. You have to redo this for every step. So I began with a Border and inside there I put 4 buttons, called them B_20, B_30 and so on. They need to be in there together. So they can relate to Jesters instructions. Save 2 copies of the form one without bitmaps and one with. The one with will be dedicated to that computer. The other one will be a setup one for other computers.
    Capture4.JPGCapture15.jpg



    As you can see not that pretty so I found some BMP pictures of buttons online. Once you get those click on the (none) part to the right.

    The Bitmap dialog pops up and find your fancy button to the left there. choose your picture.


    Capture2.JPG

    Hit OK. and wa-la. Prettier button

    Capture3.JPG



    Now the reason I said one copy with out bitmaps and one with. One with stays with that computer, because the bitmaps have a path to the pictures you added. If you try to use on a different computer it CRASHES PC-DMIS. <<<<shocker right. Anyways just transfer the pictures with you and create it on each individual computer. Repeat all the steps I just showed you on the next computer.

    UPDATE: YOU DON'T HAVE TO CREATE 2 COPIES, AS bfire85 STATED JUST UNCHECK THE LINK BOX AND EVERYTHING STICKS



    Last edited by KIRBSTER269; 07-26-2018, 08:31 AM.
    (In Memory of my Loving wife, "Ronda" who I lost March 7, 2016. I love you baby.)
    They say "Nobody's Perfect." I must be Nobody.

    Comment


    • bfire85
      bfire85 commented
      Editing a comment
      When adding a BMP to the Form Editor, uncheck the LINK button. That way it stores it in the FORM and you don't need to transfer pictures from one computer to another.

    • KIRBSTER269
      KIRBSTER269 commented
      Editing a comment
      Well I didn't even notice that check box. Thanks bfire85. I guess my question why would that even be an option. You're going to the trouble of adding a picture and you might not want it there? that's what the clear button does. Anyways I will update this post. I thank you for that little bit of info BF

  • #3
    I have some recordings set up I can post a link to detailing the process.
    I'm thinking YouTube? I still have to do some editing, so it won't be today, unfortunately.

    Anyway, I strictly use the Form Editor to make forms.. Pretty straightforward thinking.
    I'm not certain about this for those who run PC-DMIS from a custom GUI (such as through VBS, C, or otherwise); my process uses native PC-DMIS code, assignments and the like.

    There have been a few posts regarding having one PC-DMIS program allow the user to choose between multiple operations, select whether or not to manually align first, and general "jumping around the program" nonsense. I love it!

    So, the video I'm compiling together describes using forms to set up some buttons and the like, and choose between multiple operations.
    I have to measure Blanking, Secondary, and Plating operations, depending on where the part is in the process. I'd like to not measure the blanking features if I'm measuring secondary, or skip the secondary if I'm measuring blanking. If I measure plating, I'd like to measure the whole part.

    Instead of having a hundred operator comments, I wanted to have everything in a nice user interface; forms seemed the best choice.
    -------------
    A cool thing about forms is you can set defaults. For example, you're the only programmer. You'd like to have your clock number, name, or what have you run every time; it'd be tedious to re-enter it every time.
    Or, you're testing the program, and you're not going to change how the form is set up. Why re-enter it every time if you don't have to?
    -------------
    Anyways, that's a lot of talk from me and not a lot of substance. I'll be working on posting everything, drafting up some nice little paragraph or something, in the coming days (as I don't have them with me today )

    Also, interesting note about the buttons KIRBSTER269; I'll have to try that. Mine are rather boring!

    EDIT:
    https://youtu.be/GqWHRmT8YLw
    Last edited by InspectorJester; 07-26-2018, 02:35 PM.

    Comment


    • #4
      FORMS are fun! Here is standard one of mine. (Took the company name out). I also have a standard one for looped programs. The drop down has about 7 different scenarios the operator can choose from for selecting the purpose of inspection. The Inspection, Op Name, and Part Info are required fields and are tied to TRACEFIELDS in my report header & DataPage. The operator cannot continue until those required fields are filled. The Additional Comments section is an optional field that will be tied to a comment at the top of the report.


      TestInspectionForm.jpg

      Comment


      • #5
        The main PC-DMIS Template I use has settings to switch from using forms or comments. Here are the samples of some forms I have been using.

        Template Form Editor.png
        Operator Mode Form.JPG
        Program Mode Form.JPG
        Last edited by davehocum; 07-26-2018, 09:02 AM.

        Comment


        • KIRBSTER269
          KIRBSTER269 commented
          Editing a comment
          As much as I like the radio buttons. With this particular company. They use a Print command at the end. They want the operator to do as little as possible. That's why they have 3 steps at the beginning. 1-Execute, 2-choose operation(takes you to a Yes/No comment) 3- Are you sure you want to run OP#XX. Then it Runs.

        • KIRBSTER269
          KIRBSTER269 commented
          Editing a comment
          Believe me, the more companies I work with. I will be definitely be coming back to you, and bfire85 , and InspectorJester <<< little scripting freak. I'm not a scripter, I focus more on the value of the part. So I need to lean hard on you guys for this s_h_i_t
          Last edited by KIRBSTER269; 07-26-2018, 09:47 AM.

        • davehocum
          davehocum commented
          Editing a comment
          KIRBSTER269,
          Great work with your form you posted and Inspector.Jester. I am also learning more and more every time I work with the scripts or forms. I have to thank everyone on this form and the cmm guy form for the helpful tips and ideas.
          Last edited by davehocum; 07-26-2018, 09:34 AM. Reason: Added Inspector.Jester

      • #6
        KIRBSTER269,
        I need to create a form to handle that type of process. But, I am going to wait until I convert the PC-DMIS template to be used in a sub routine.
        With the Template Form Editor script I use this to change the form from the lab use to a more secured form for the shop floor. This form locks the operators from the Program mode form with a password.
        A password has to be entered into the Current Selection (Default is "Run Part") to open the Program Mode form.
        image_15387.jpg
        Last edited by davehocum; 07-26-2018, 09:22 AM.

        Comment


        • KIRBSTER269
          KIRBSTER269 commented
          Editing a comment
          It actually isn't that hard, but I don't want to post anything, because it was InspectorJester who actually did it. He is going to post a YouTube step by step pretty soon for everyone. He is playing catch up right now, he was on vacation. I just don't want to take credit for his work. I put the Yes/No questions for simply if you click NO, it goes back to the Form. What OP? and if you click "Yes" it runs that OP and at the end of that OP if "Yes" go to the very "END" Label. and each op has Print Commands. << that's the way they save them.

      • #7
        So I posted the link above.

        Check it out and let me know if that answers your question davehocum.
        i did interpret that correctly; you're asking a question, right?

        Comment


        • KIRBSTER269
          KIRBSTER269 commented
          Editing a comment
          excellent jester. Very nicely done

      • #8
        I have a standard form that I use for R&R/ Rayco Fixture setup instructions and photos. Have a text box describing components and locations. Have an area for at least two thumbnail sized photos and a large area to display the big versions of the thumbnails. Wrote some simple code to have the big versions of the thumbnails visible when you click on the small thumbnail.

        Comment


        • InspectorJester
          InspectorJester commented
          Editing a comment
          Excellent idea. Using images inside of operator comments is annoying; they never turn out right!
          Having a form with some instructions, especially somewhat interactive instructions, is much easier to format, thus easier to understand.
          E.g. a mini slideshow detailing exactly how to load a part or something
          +1

      Related Topics

      Collapse

      Working...
      X