hexagon logo

Tried & Tried

Open a single program on all three (3) of my CMM's two (2) of them will send stat's to the database as they suppose too. The 3rd one will show an error.
ERROR ATTACHED BELOW. Has anyone seen this before or do I need to call B&S and wait for them or Haley's comet to come around every 75 years.

Just joking, help if you can and have time.
Parents
  • So other words I'm telling it where the xstats11.tmp file is and if it's true it will delete it.


    also it there any data that explains what the below insert means. I know a little how it works but what the -------- does each line mean.


    What happens is this line check to see if the file is there. We need to check because the next line takes action on said file and we don't want an error if it does not exist:

    V1 =FILE/EXISTS,C:\PCDMISW\XSTATS11.TMP


    Now if it exists V1 will be 1 if it does not exist V1 will be 0. This line evaluates V1 and if it is a 1 deletes your XSTATS11.TMP

    IF/V1==1
    FILE/DELETE,C:\PCDMISW\XSTATS11.TMP
    END_IF/


    This stuff needs to be done before any stats transfer, put it at the beginning of your .prg to be safe.
Reply
  • So other words I'm telling it where the xstats11.tmp file is and if it's true it will delete it.


    also it there any data that explains what the below insert means. I know a little how it works but what the -------- does each line mean.


    What happens is this line check to see if the file is there. We need to check because the next line takes action on said file and we don't want an error if it does not exist:

    V1 =FILE/EXISTS,C:\PCDMISW\XSTATS11.TMP


    Now if it exists V1 will be 1 if it does not exist V1 will be 0. This line evaluates V1 and if it is a 1 deletes your XSTATS11.TMP

    IF/V1==1
    FILE/DELETE,C:\PCDMISW\XSTATS11.TMP
    END_IF/


    This stuff needs to be done before any stats transfer, put it at the beginning of your .prg to be safe.
Children
No Data