hexagon logo

How To Force PCDMIS to Save Results Via Automation ?

Hi All,

I have a strange problem where I have automated the tip selection to be calibrated and select these via automation.

I'm an IT guy and using PCDMIS offline to test and everything works e.g. results file gets updated etc.

When I go live on the cmm, the probe goes through the motions after my .Qualify command and calibrates all the tips, but does not update the XYZ, diameter etc to the probe tip data, or output the ProbeFileName.results file ?

Am I missing something here ?

Do I need to re-interogate some Automation feature to access the results and create my own results file ?

Or do I need to set a particular property to make dmis save the results file ?

I'm not issuing DMIS commands to the program, just using Automation with all the standard objects and properties.

Cheers,

Dougie.
Parents
  • I was just looking at the probe object. If I were going to undertake this task, I would have chosen to use .Qualify2(QualificationSettings) - did you try that as well? I'm wondering if pcdmis even knows about your SetTool if you don't use this method. Also, its the only way I see to specify all the necessary parameters (hits, levels, prehit/retract, touchspeed, etc.)


    MyQuals returns a Qualification object which you then fill.

    Set MyQuals = ActiveProbe.QualificationSettings
    MyQuals.Mode = PCD_QUALIFICATION_SETTING_MODE_DCC
    MyQuals.ExecuteMode = CALIBRATE_TIPS
    MyQuals.ToolMoved = TOOL_MOVED_ASK
    MyQuals.SetTool ThisTool
    MyQuals.UserDefinedCalibrationMode = False
    MyQuals.UserDefinedCalibrationOrder = False

    ActiveProbe.Qualify2 MyQuals

    This code only sets the qualification parameters. You then issue :-

    ActiveProbe.Qualify

    And this sets the probe in motion and calibrates all the required tips.

    I've totally bypassed this way of doing what I needed done now.


    Dougie.
Reply
  • I was just looking at the probe object. If I were going to undertake this task, I would have chosen to use .Qualify2(QualificationSettings) - did you try that as well? I'm wondering if pcdmis even knows about your SetTool if you don't use this method. Also, its the only way I see to specify all the necessary parameters (hits, levels, prehit/retract, touchspeed, etc.)


    MyQuals returns a Qualification object which you then fill.

    Set MyQuals = ActiveProbe.QualificationSettings
    MyQuals.Mode = PCD_QUALIFICATION_SETTING_MODE_DCC
    MyQuals.ExecuteMode = CALIBRATE_TIPS
    MyQuals.ToolMoved = TOOL_MOVED_ASK
    MyQuals.SetTool ThisTool
    MyQuals.UserDefinedCalibrationMode = False
    MyQuals.UserDefinedCalibrationOrder = False

    ActiveProbe.Qualify2 MyQuals

    This code only sets the qualification parameters. You then issue :-

    ActiveProbe.Qualify

    And this sets the probe in motion and calibrates all the required tips.

    I've totally bypassed this way of doing what I needed done now.


    Dougie.
Children
No Data