hexagon logo

Help with OLE Automation

Now that I have information in a way that imports and exports the information correctly, I have been tasked with creating an OLE to automatically import the data into the SPC software. I have one that sort of works (as in opens the program, logs in, opens the right collection plan, etc) and I can get put in static information, but I am unsure how to call the information out of PC DMIS to have it be placed in the spots we need in the SPC software being used.

Has anyone else done this? Can anyone explain to me how find the variable and the measurement output in PC DMIS? I am using version 4.2 if that helps any.

Thanks so much.
Parents
  • There are several CSV solutions in here, created for this particular task.
    Have you been looking around for them to see if they can do what you are looking for?


    Thanks, and yes, I have been looking at them, but we need to move the results of the CMM data into our SPC system to get the data collected on the CMM and the data we are collecting manually to coincide. An OLE automation would do that and not put any extra pressure on our operators and would ensure that the data was collected into the SPC software.

    The OLE program works to a point. I can get it to accept static values, but can't quite get the right commands in place to get it to accept dynamic values from the program on the CMM that was just run. So I am close to what we need, but not quite there yet. So, any advice on how those values should be called out would be great.

    Thanks so much.
Reply
  • There are several CSV solutions in here, created for this particular task.
    Have you been looking around for them to see if they can do what you are looking for?


    Thanks, and yes, I have been looking at them, but we need to move the results of the CMM data into our SPC system to get the data collected on the CMM and the data we are collecting manually to coincide. An OLE automation would do that and not put any extra pressure on our operators and would ensure that the data was collected into the SPC software.

    The OLE program works to a point. I can get it to accept static values, but can't quite get the right commands in place to get it to accept dynamic values from the program on the CMM that was just run. So I am close to what we need, but not quite there yet. So, any advice on how those values should be called out would be great.

    Thanks so much.
Children
No Data