hexagon logo

PC-DMIS 2012 MR1 & Scripting

Is VB scripting the only form of code to use for pc-dmis 2012 mr1?
Parents
  • I have an external program written in Delphi Pascal that starts PC-DMIS and then (among a lot of other things) allows you to start a partprogram using a barcode reader. This program has no problem running part programs in 2012 MR1 (I just tested that), it works there exactly the same as any other version.

    Essentialy, my program does

    PCD_Application := CreateOleObject(ServerName);
        PCD_PartPrograms := PCD_Application.PartPrograms;
        PCD_PartProgram := PCD_PartPrograms.Open(LocalFileName, 'CMM1');
        PCD_PartProgram.Activate;
        PCD_PartProgram.EXECUTE;


    and the part program executes (yes, I noted now that I use "CMM1" and it still works).
Reply
  • I have an external program written in Delphi Pascal that starts PC-DMIS and then (among a lot of other things) allows you to start a partprogram using a barcode reader. This program has no problem running part programs in 2012 MR1 (I just tested that), it works there exactly the same as any other version.

    Essentialy, my program does

    PCD_Application := CreateOleObject(ServerName);
        PCD_PartPrograms := PCD_Application.PartPrograms;
        PCD_PartProgram := PCD_PartPrograms.Open(LocalFileName, 'CMM1');
        PCD_PartProgram.Activate;
        PCD_PartProgram.EXECUTE;


    and the part program executes (yes, I noted now that I use "CMM1" and it still works).
Children
No Data