hexagon logo

Autocalibrate Global Used

Is it possible to create an autocalibration program that only calibrates global used angles for each probe build? Currently it calibrates all tip angles for each probe.
  • This is certainly possible, but I am not sure of a straightforward method of doing so.

    What I would do is go to this thread and use 's Script he made for Excel
    You will need to select the correct PCDMIS Object Library version for whichever version of PCDMIS you use in excel for it to run.

    https://www.pcdmisforum.com/forum/pc-dmis-enterprise-metrology-software/pc-dmis-code-samples/30029-has-anyone-made-a-script-to-list-all-used-probes-tips-in-all-programs?p=387069#post387069

    After you've done all that, I'd take all the tips found for each probe file, make a new program named "1X40MM" for a 1X40 probe build and load a probe in. Put every tip in the generated list of found tips into the program. (May take a while if it's a lot) Then F9 your probe build, and click mark used(essentially we compiled all used tips for this build) and turn them into your own personal "Global" Parameter Set.

    Only downside is I can't think of a way to automatically update the list of probe tips. You'd have to note when you compiled this set of tips, and if you ever add any more to add it to the list in the programs you created for each probe build.

    There is also probably a better way, or Global Used functionality is supposed to already do this, but may be finicky.
  • If I wanted to do this I would create a program and add all probe builds (ie 1X20mm, 3X50mm...) then f9 each one and select "Global Used" (it could take awhile). You couls then save the selected angle as a "Parameter sets" (I would use Global for the set name). Repeat this for all probe builds. Then create your autocalibration program recalling the parameter sets.
  • Thanks for the replies and suggestions. Slight smile
    I was hoping to automatically update the list through programming.
    My plan was to load only programs that we are running for the week onto each CMM and have the probe calibration program search programs in a specific folder for the probes and angles used and calibrate only those. This would enable autocalibration for just the needed probes and angles without calibrating everything each time.
    Currently I open the calibration program, search global used and update the parameter set.
  • You definitely can update the list by pulling tips from only programs you will need that week. You just need to create a folder with a copy of the programs for the week and run that excel script. There's certainly ways to do what you want. davehocum is quite good with scripts he may be able to help. You can also add Basic command scripts within pcdmis. I've not done enough with them to have a full understanding. That spreadsheet in the thread I linked above has a Visual Basic script within excel that pulls tip data. You may be able to play with that.