Photo pop-up during program?

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

  • Photo pop-up during program?

    Does anyone know how to make a photo pop-up (prompt) during the running of a program?

    Aaron Fenner
    Quality Engineer
    PC-Dmis v4.3
    B & S Global Status 7.7.7
    6 years xp 32-bit

    sigpic

  • #2
    INSERT EXTERNAL OBJECT. Here is code from one of my programs.
    Code:
    C2         =COMMENT/YESNO,Do you want to see a picture of the setup?
                IF_GOTO/C2.INPUT=="NO",GOTO = L2
                Insert the external object here
     
    L2         =LABEL/
    Darn, the actual object didn't copy over to here.
    Last edited by John Kingston; 04-09-2007, 11:58 AM.
    When in doubt, post code. A second set of eyes might see something you missed.
    sigpic

    Comment


    • #3
      C2 =COMMENT/YESNO,Do you want to see a picture of the setup?
      IF_GOTO/C2.INPUT=="NO",GOTO = L2
      Insert the external object here

      L2 =LABEL/
      sigpic

      James Mannes

      Comment


      • #4
        I would suggest that you put in TWO (2) 'dummy' comments, then do the external object BETWEEN them. Some version of Pcdmis have problems with deleting external objects by themselves, you can't 'grab' them to delete them, but with a comment before and after, it is easy.
        sigpic
        Originally posted by AndersI
        I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

        Comment


        • #5
          Thanks James......

          Matt makes a good point. Move points before and after work too.
          When in doubt, post code. A second set of eyes might see something you missed.
          sigpic

          Comment


          • #6
            Ok, but you can't just link an external object to a photo. External object is looking for a .exe file, no? How do you make the photo appear on the screen once you choose to "see" it?

            Comment


            • #7
              INSERT
              REPORT COMMAND
              EXTERNAL OBJECT
              mark CREATE FROM FILE
              the BROWSE for it
              double click on the picture
              click on OK
              MARK the object as it appears in the EDIT WINDOW
              There are 4 levels or 'marked':

              not marked
              outside of box 'highlighted'
              inside of box 'highlighted'
              both in and outside 'highlighted'
              You want BOTH,
              sigpic
              Originally posted by AndersI
              I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

              Comment


              • #8
                I would say Hypereport but I see the OP uses 4.1, too bad. I think I was the only person that actually used and liked Hypereport. For pictures and set up interfaces and such. It sucked for post inspect but was great for what you need to do.
                <internet bumper sticker goes here>

                Comment


                • #9
                  One thing you will find with this method is that it will "pause" your program and open the picture. When you are done looking at the picture, you have to click "continue" to finish the program.

                  I put all my setup pictures on one page and create a .pdf of it. That way, there is only one file to insert/open and it has several different views.

                  Comment


                  • #10
                    Sweet!

                    Comment


                    • #11
                      Originally posted by craiger_ny View Post
                      I would say Hypereport but I see the OP uses 4.1, too bad. I think I was the only person that actually used and liked Hypereport. For pictures and set up interfaces and such. It sucked for post inspect but was great for what you need to do.
                      "FORMS" is the replacement for HYPER-REPORT. Works the same. They are microsoft compliant whereas the HYPER-REPORT was not. VIEW>FORM.
                      Then after creating the FORM go to...
                      INSERT>REPORT>FORM>. Save the form "as" somewhere you want them, and in the form is insert object(pretty little picture scene) See my screenshots
                      Last edited by JamesMannes; 05-18-2007, 02:09 PM.
                      sigpic

                      James Mannes

                      Comment


                      • #12
                        Here's a smaple of the way I use photos....



                        PART NAME : 6565040-2
                        REV NUMBER : A
                        SER NUMBER :
                        STATS COUNT : 9

                        STARTUP =ALIGNMENT/START,RECALL:, LIST= YES
                        ALIGNMENT/END
                        COMMENT/DOC,NO,See tip configuration setup in C:\PCDMISW\Pictures\C3_SLOT4
                        COMMENT/DOC,NO,Mirrored by Daniel S Hudson 03/29/2007 08:00 AM
                        ,Engineering Revision A
                        ,Software Revision 3.7MR2
                        MODE/MANUAL
                        Q1 =COMMENT/YESNO,NO,IS TOOL_C3 LOADED
                        IF_GOTO/Q1.INPUT=="YES",GOTO = L1
                        LOADPROBE/C3_SLOT4
                        L1 =LABEL/
                        TIP/T1A90B180, SHANKIJK=0, -1, 0, ANGLE=180
                        PREHIT/ 0.2
                        RETRACT/ 0.2
                        MOVESPEED/ 75
                        COMMENT/REPT,.
                        ,--------------------------------------------------------------------
                        ,| McCauley Propeller Systems - All dimensions are to blueprint specification |
                        ,| |
                        ,| This program check the 6565040-2 Bellcrank (RH) Arm Detail - W.S. 160.95 |
                        ,--------------------------------------------------------------------
                        C1 =COMMENT/INPUT,YES,'Serial Number'
                        C2 =COMMENT/INPUT,YES,'Work Order Number'
                        C3 =COMMENT/INPUT,YES,'Machine Number'
                        C4 =COMMENT/INPUT,YES,'Operations Number'
                        C5 =COMMENT/INPUT,YES,'Operator Intials'
                        EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PCDMISW\PICTURES\IEXPLORE.EXE C:\PCDMISW\PICTURES\6565040-1-2.JPG
                        COMMENT/OPER,NO,With part mounted on fixture as shown
                        ,Take 3 points on Datum -A-.....
                        MPLN1 =FEAT/PLANE,RECT,TRIANGLE
                        0
                        Last edited by AuRules; 04-09-2007, 12:44 PM.
                        sigpic

                        Comment


                        • #13
                          Originally posted by AuRules View Post
                          Here's a smaple of the way I use photos....




                          C1 =COMMENT/INPUT,YES,'Serial Number'
                          C2 =COMMENT/INPUT,YES,'Work Order Number'
                          C3 =COMMENT/INPUT,YES,'Machine Number'
                          C4 =COMMENT/INPUT,YES,'Operations Number'
                          C5 =COMMENT/INPUT,YES,'Operator Intials'
                          EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PCDMISW\PICTURES\IEXPLORE.EXE C:\PCDMISW\PICTURES\6565040-1-2.JPG
                          COMMENT/OPER,NO,With part mounted on fixture as shown
                          ,Take 3 points on Datum -A-.....
                          MPLN1 =FEAT/PLANE,RECT,TRIANGLE
                          0
                          I don't have a problem with the way you have presented your pictures, I would make comment though on your ability to add some text to the setup photos. In a FORM, at least you can add text, and edit that text. If for example I add my text via SNAGIT(screen capture software) it is made a part of the .jpg and you cannot remove/change it afterward.
                          sigpic

                          James Mannes

                          Comment


                          • #14
                            Thanks fellas for the helpful info...i'm hoping to try this today...

                            Aaron Fenner
                            Quality Engineer
                            PC-Dmis v4.3
                            B & S Global Status 7.7.7
                            6 years xp 32-bit

                            sigpic

                            Comment


                            • #15
                              Originally posted by JamesMannes View Post
                              I don't have a problem with the way you have presented your pictures, I would make comment though on your ability to add some text to the setup photos. In a FORM, at least you can add text, and edit that text. If for example I add my text via SNAGIT(screen capture software) it is made a part of the .jpg and you cannot remove/change it afterward.
                              James
                              I just add the text in Microsoft Paint and then save the text and the picture together. Then open it as one in my program. The comment after the external command is to stop the program and give the operator time to close the picture.
                              sigpic

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X