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
  • I have a general question. Are you trying to capture every dimension in the program for spc, or selected dimensions only?

    Will try to comment on the code later.

    It depends on the program for the part. There are many features in the program that I am not trying to capture, but there are also many that I am. And that of course depends upon the part specifications themselves and what is necessary to measure to ensure that it is functional.

    And I know that is pretty much a non answer, but it does really depend upon the part and then how the PCDMIS program is written. And to be honest, there isn't much consistency because there have been a lot of fingers in the PCDMIS pie. If there was consistency, this would be so much easier.
Reply
  • I have a general question. Are you trying to capture every dimension in the program for spc, or selected dimensions only?

    Will try to comment on the code later.

    It depends on the program for the part. There are many features in the program that I am not trying to capture, but there are also many that I am. And that of course depends upon the part specifications themselves and what is necessary to measure to ensure that it is functional.

    And I know that is pretty much a non answer, but it does really depend upon the part and then how the PCDMIS program is written. And to be honest, there isn't much consistency because there have been a lot of fingers in the PCDMIS pie. If there was consistency, this would be so much easier.
Children
No Data