Auto-calibration results going to different folders

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

  • Auto-calibration results going to different folders

    Where do I change (if possible) the folder that results from and auto-calibrate program go to? Some (4 probes) of the results are going to a prb file in hexagon 2016, but others (3 probes) are going into a folder 'Calibration' located in the same main folder that many programs are kept. Auto cal program was created by someone no longer with the company. I just want them going to the same place (preferably where pc-dmis gets time stamps for sending warnings about 'probe not calibrated recently'
    Last edited by swisk212; 08-05-2019, 10:21 AM.

  • #2
    What results are you talking about? The text file that ends in ".results" or a report that the program saves? The results file that PC-DMIS automatically creates is always saved in the same location as the probe file. I've never heard of a program pulling probe files from different locations so I'm guessing that the .results file isn't what you mean, but correct me if I'm wrong.

    If it is a report that the program is creating, then without the code from the program it's just a guess as to what's happening. Can you post the code from the program?
    PC-DMIS 2016.0 SP8

    Jeff

    Comment


    • #3
      This is the program, and also a snip of where the probe files are
      Attached Files

      Comment


      • #4
        Originally posted by swisk212 View Post
        Where do I change (if possible) the folder that results from and auto-calibrate program go to? Some (4 probes) of the results are going to a prb file in hexagon 2016, but others (3 probes) are going into a folder 'Calibration' located in the same main folder that many programs are kept.

        Auto cal program was created by someone no longer with the company.

        I just want them going to the same place (preferably where pc-dmis gets time stamps for sending warnings about 'probe not calibrated recently'
        Let us begin with the obvious: yes, all your autocal results should go to the same place (though the place PC-DMIS gets time stamps from is called "the computer's clock" and is not a folder to store things in).

        Ok, that's settled and now on to the real issue: do you have the skill/knowledge level to successfully repair and/or upgrade the former programmer's work?

        Have you gone thru the auto-cal program and understood everything that's happening there? Do you see which method he/she was using to create, populate, and store these calibration results?

        You can learn quite a bit from just tracing the methodology of an advanced programmer. You see extra steps and wonder why, then later see diverging paths or validation actions that depend upon those seemingly superfluous steps. Good (IMO) programmers will leave copious and detailed notes in the form of $$ comments throughout the tangled web of commands, and leave you a solid modular architecture where you can tweak one section without the whole thing crunching to a halt with a vague runtime error.

        With luck it's a simple hardcoded filepath to a folder, easy fix.



        Comment


        • #5
          Close all programs. Go to Edit | Set search path. Then select Probe Directory from the drop down list. Make sure only the "Search specified directory" box is ticked. Then select the location you want to use for all your probes. Next copy all the probes from the different locations and paste them into the location you want to use.
          Next time you run that program it should use just the probe files from that specified location.

          I never notice that there are other options other than searching a specified directory. That's all we ever use.
          PC-DMIS 2016.0 SP8

          Jeff

          Comment


          • #6
            Originally posted by Schrocknroll View Post
            Close all programs. Go to Edit | Set search path. Then select Probe Directory from the drop down list. Make sure only the "Search specified directory" box is ticked. Then select the location you want to use for all your probes. Next copy all the probes from the different locations and paste them into the location you want to use.
            Next time you run that program it should use just the probe files from that specified location.

            I never notice that there are other options other than searching a specified directory. That's all we ever use.
            Good answer but re-read his post. He has a custom auto-cal prg writing results on it's own, not depended upon the Search path... which is not variable and can only be a single path for any single seat of the PC-Demonic.

            Comment


            • #7
              I am unable to get on it now to check the path (parts being inspected). Would it be advisable to set up a standard auto cal program ? I have 1 master probe & 7 others ?

              Comment


              • #8
                Originally posted by swisk212 View Post
                I am unable to get on it now to check the path (parts being inspected). Would it be advisable to set up a standard auto cal program ? I have 1 master probe & 7 others ?
                You already have an auto-cal program. You said so in the original post.

                Comment


                • #9
                  Originally posted by Ego Murphy View Post

                  Good answer but re-read his post. He has a custom auto-cal prg writing results on it's own, not depended upon the Search path... which is not variable and can only be a single path for any single seat of the PC-Demonic.
                  He attached a text file with the code for the "custom" auto-cal program. It's just a program that calls various probes and runs the stander built in auto-cal routine. I didn't see anything really custom in it. I'll post it below.

                  Code:
                  STARTUP    =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
                              ALIGNMENT/END
                              MODE/DCC
                              MOVESPEED/ 100
                              PREHIT/0.125
                              RETRACT/0.125
                              FORMAT/TEXT,OPTIONS,ID,HEADINGS,SYMBOLS, ;MEAS,NOM,TOL,DEV,OUTTOL, ,
                              DISPLAYPRECISION/5
                              LOADPROBE/SERVICE
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                              Install Calibration Sphere with adapter into AC22 on CMM
                  COMMENT1   =COMMENT/INPUT,YES,FULL SCREEN=NO,
                              'Employee initials'
                              COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
                              Probe is going to index.
                              Make sure there is enough room.
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=YES_DCC,
                                            SHOW_SUMMARY=YES, OVERWRITE_RESULTSFILE=NO
                  BEGIN AUTOCALIBRATE RESULTS FOR PROBE SERVICE USING SET ALL-TIPS-WITH-DEFAULTS
                  Probe file=SERVICE    Date=8/3/2019    Time=9:42:01 AM
                  m8903          CENT X  6.78269 Y 11.02415 Z-17.13333 D0.98348
                  T1A0B0         THEO X  0.00000 Y  0.00000 Z  8.46732 D0.07874
                  T1A0B0         MEAS X -0.00048 Y -0.00033 Z  8.46429 D0.07836 StdDev0.00004
                  END AUTOCALIBRATE RESULTS FOR PROBE SERVICE USING SET ALL-TIPS-WITH-DEFAULTS
                              LOADPROBE/TIP1
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                            SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                              LOADPROBE/TIP2
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                            SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                              LOADPROBE/TIP3
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                            SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                              LOADPROBE/TIP4
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                            SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                              LOADPROBE/TIP5
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                            SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                              LOADPROBE/TIP6
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                            SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                              LOADPROBE/SERVICE
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                              AUTOCALIBRATE/PROBE, PARAMETER_SET=ALL-TIPS-WITH-DEFAULTS, QUALTOOL_MOVED=NO,
                                            SHOW_SUMMARY=NO, OVERWRITE_RESULTSFILE=NO
                              PRINT/REPORT,EXEC MODE=END,$
                                TO_FILE=ON,AUTO=1,AUTO OPEN REPORT=OFF,$
                                TO_PRINTER=OFF,COPIES=1,$
                                TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
                                REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                                TO_EXCEL_OUTPUT=OFF,
                                PREVIOUS_RUNS=KEEP_INSTANCES
                              WORKPLANE/ZPLUS
                              LOADPROBE/TIP3
                              TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
                  Last edited by Schrocknroll; 08-07-2019, 06:26 AM.
                  PC-DMIS 2016.0 SP8

                  Jeff

                  Comment


                  • #10
                    Back at it, just did as you suggested Edit / search path. I will try to sneak in auto cal during the day (cmm has been busy this week - work load for it changes drastically). As to my capabilities, I took level 1 Hexagon training (hoping to take level 2 this fall), but I am by no means a 'coder' etc. Most programs required are relatively standard (a few using cad or differing work planes , cylinders with angled cut outs etc). Thank you for the advice thus far
                    Last edited by swisk212; 08-07-2019, 08:03 AM.

                    Comment


                    • #11
                      Update - just ran the program - all results in same place - no errors about 'not calibrated for xx time - thank you both

                      Comment

                      Related Topics

                      Collapse

                      Working...
                      X