hexagon logo

XSTATS11.tmp

I thought this would be nice for the first thread here. Any PCDMIS part program I have that saves stats I put this at the begining of. It looks for and deletes the xstats11.tmp file when executed. This avoids the way of doing it manually which is usually right after things screw up.

V1 =FILE/EXISTS,C:\PCDMISW\Xstats11.tmp
IF/V1==1
FILE/DELETE,C:\PCDMISW\Xstats11.tmp
END_IF/


Craig
Parents
  • Only applies to Datapage

    Craig,

    I know this is not related to Datapage, but someone may look at this to troubleshoot other SPC programs so....

    If you are using a program like QCCalc(and maybe other SPC programs), you may not want to delete the file everytime. For example, if QCCalc is not running at the moment of the inspection, it will process the xstats11 file when it does get started. While QCCalc is off, the xstats11 file will accumulate part data and then is processed when QCCalc starts later. It acts as a temporary storage of part SPC data.

    This would apply to any program (other than datapage??) that uses the xstats11 file.

    I have not used Datapage, why is it necessary to delete the xstats11 file? Could you just make a single PCDMIS program that would delete the file instead of adding to all?
Reply
  • Only applies to Datapage

    Craig,

    I know this is not related to Datapage, but someone may look at this to troubleshoot other SPC programs so....

    If you are using a program like QCCalc(and maybe other SPC programs), you may not want to delete the file everytime. For example, if QCCalc is not running at the moment of the inspection, it will process the xstats11 file when it does get started. While QCCalc is off, the xstats11 file will accumulate part data and then is processed when QCCalc starts later. It acts as a temporary storage of part SPC data.

    This would apply to any program (other than datapage??) that uses the xstats11 file.

    I have not used Datapage, why is it necessary to delete the xstats11 file? Could you just make a single PCDMIS program that would delete the file instead of adding to all?
Children
No Data