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
  • Isn't that more or less the same as using AUTOCALIBRATE and parameter sets? Perhaps you can go that route instead?


    Parameter sets must first of all be created manually as far as I know.

    The tips are selected depending on their last calibrated date / time. (e.g. tip has not been calibrated for X minutes = add me to the list to be calibrated in this part program)

    I've got my software working now.

    I use Automation for everything bar the very last step when I use windows Api calls to display the probe utilities dialog box, I interrogate the Hwnd of the listbox in that dialog box and issue LB_SETSEL for the tips I need calibrated.

    The operator then presses Measure, Measure as normal and my software is not issuing the command.

    PC-DMIS calibrates the probes, updates the results etc as it should, I don't need to update / mess with the probe files.

    Dougie.
Reply
  • Isn't that more or less the same as using AUTOCALIBRATE and parameter sets? Perhaps you can go that route instead?


    Parameter sets must first of all be created manually as far as I know.

    The tips are selected depending on their last calibrated date / time. (e.g. tip has not been calibrated for X minutes = add me to the list to be calibrated in this part program)

    I've got my software working now.

    I use Automation for everything bar the very last step when I use windows Api calls to display the probe utilities dialog box, I interrogate the Hwnd of the listbox in that dialog box and issue LB_SETSEL for the tips I need calibrated.

    The operator then presses Measure, Measure as normal and my software is not issuing the command.

    PC-DMIS calibrates the probes, updates the results etc as it should, I don't need to update / mess with the probe files.

    Dougie.
Children
No Data