hexagon logo

SPC results sent to PC-DMIS report

So as a new project, the management wants me to implement SPC collection that would be real time and not require any further operator interaction than they already have. This means that they want the SPC data (read X bar R chart; or process chart in DATAPAGE) to be sent to the report after each "in process" run of a part. They only want 1 feature to begin with but that seems daunting enough. Anyone have any ideas?
Parents
  • This is my macro ( i am trying to import a run chart)

    RunChartAnnotate 1;
    RunChart;

    this is my code

    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; J:\JohnR\DATAPAGE\K.MAC

    this is my error
    cannot execute file J:\johnr\DATAPAGE\K.MAC

    any ideas?



    Your external command would actually need to call datapage.exe with a command line argument to process that macro using datapage.

    C:\DataPage 3.33\[COLOR=red]datapage.exe[/COLOR] [COLOR=blue]Z:\JIMI_TEST.MAC[/COLOR]


    opens datapage
    using this macro

    I think that you will need to add a lot to your macro to open the particular file that you want, setup and create your chart, print your chart to a file and then close datapage. Then you will need to code into PCD to embed the chart that you created into your report. I haven't done any of this myself so I don't know the exact macro structure or the code for embeding. Maybe James could be a little more helpful with the macro structure and the embeding of the chart.
Reply
  • This is my macro ( i am trying to import a run chart)

    RunChartAnnotate 1;
    RunChart;

    this is my code

    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; J:\JohnR\DATAPAGE\K.MAC

    this is my error
    cannot execute file J:\johnr\DATAPAGE\K.MAC

    any ideas?



    Your external command would actually need to call datapage.exe with a command line argument to process that macro using datapage.

    C:\DataPage 3.33\[COLOR=red]datapage.exe[/COLOR] [COLOR=blue]Z:\JIMI_TEST.MAC[/COLOR]


    opens datapage
    using this macro

    I think that you will need to add a lot to your macro to open the particular file that you want, setup and create your chart, print your chart to a file and then close datapage. Then you will need to code into PCD to embed the chart that you created into your report. I haven't done any of this myself so I don't know the exact macro structure or the code for embeding. Maybe James could be a little more helpful with the macro structure and the embeding of the chart.
Children
No Data