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
  • Just reading through this whole post for my own interest and I was thinking the same thing about this needing to be done for each and every program. I really have no coding skills. But, if I were looking to make a generic program to grab all this information, the first thing I would do is set some ground rules for the CMM programmers. Tell them that for all dimensions that need to be tracked or added to spc, they must be the only dimensions named a specific way and only that way. This would make your job a little easier. They need to work with you, not cause more issues. I agree though with DJAMS that if it can be done much easier with a purchased software then do it that way. Forgive my intrusion.

    Not an intrusion, and it would be so much easier if there were rules to how these were programmed, and then there would be hope for a general script that could just be input into each one. At this point, I run across something new in each program that I open. So this has been an adventure. Slight smile
Reply
  • Just reading through this whole post for my own interest and I was thinking the same thing about this needing to be done for each and every program. I really have no coding skills. But, if I were looking to make a generic program to grab all this information, the first thing I would do is set some ground rules for the CMM programmers. Tell them that for all dimensions that need to be tracked or added to spc, they must be the only dimensions named a specific way and only that way. This would make your job a little easier. They need to work with you, not cause more issues. I agree though with DJAMS that if it can be done much easier with a purchased software then do it that way. Forgive my intrusion.

    Not an intrusion, and it would be so much easier if there were rules to how these were programmed, and then there would be hope for a general script that could just be input into each one. At this point, I run across something new in each program that I open. So this has been an adventure. Slight smile
Children
No Data