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

  • Since something that is specified as a DIMENSION_Z_LOCATION, or Y loc, or X loc doesn't have an ID in that block of commands, would it help if I set the ID to be that of the previous ID. Could the fact that the program is looking for an ID that doesn't exist make it return a null value?


    The code that AndersI posted handles this problem. If it isn't working, you need to review how you've integrated it into your code.

    Edit: sorry, no it doesn't. He is not outputting dimension names.
Reply

  • Since something that is specified as a DIMENSION_Z_LOCATION, or Y loc, or X loc doesn't have an ID in that block of commands, would it help if I set the ID to be that of the previous ID. Could the fact that the program is looking for an ID that doesn't exist make it return a null value?


    The code that AndersI posted handles this problem. If it isn't working, you need to review how you've integrated it into your code.

    Edit: sorry, no it doesn't. He is not outputting dimension names.
Children
No Data