hexagon logo

updating datapage?

Running PCDMIS 4.1 and Datapage 3.33. Question is when I'm in a program and it ask to update data base, yes or no and I pick no .Close that program. Open a different part program, run throw it, update data base, yes or no, I pick yes. What I notice is not only does the program that I'm running update but the one that I closed and do not want updated. Is there away to only update or send the data to the database or file only on the part program you want? I'm not sure if I have explained this well. So if I need to give a better explanation, Please let me know. Thank you.Astonished
  • Running PCDMIS 4.1 and Datapage 3.33. Question is when I'm in a program and it ask to update data base, yes or no and I pick no .Close that program. Open a different part program, run throw it, update data base, yes or no, I pick yes. What I notice is not only does the program that I'm running update but the one that I closed and do not want updated. Is there away to only update or send the data to the database or file only on the part program you want? I'm not sure if I have explained this well. So if I need to give a better explanation, Please let me know. Thank you.Astonished

    You will have to delete the XSTATS11.TMP file that is in your INSTALL directory of Pcdmis if you do not want it to save the stats of a part you just ran. When it asks if you want to UPDATE and you tell it no, it saves that data in the XSTATS11.TMP file until you Do tell it YES.

    It does this so you can run ALL of a study, then update at the end to save "run time" (but it don't save ANY time IMO because you lose as much time but all at once at the end).

    I have a batch file that I run when I don't want to save the stats for whatever reason that replaces the XSTATS11.TMP file with an empty copy. Others here can give you CODE to put in the beginning of your program that will delete the XSTATS11.TMP file everytime you run the program. Yeah, it works, BUT, if you run a part, tell it NO, run a second part then want to update Datapage with the data from BOTH parts, you are screwed because when you ran it the second time, it deleted the data, SO, I prefer the batch file method. I have a quick-link on the toolbar, all it takes is a single click and that pesky file is GONE!
  • I place my stats on command at the start of my programs. There should be a box that opens when you start your program that asks "Okay to save statistics"? If you click on NO then your stats will not go to Datapage and you will not be asked "Update the datapage database now"? at the end of your program.

    IF somebody has checked the "don't ask me again" tick box to the "Okay to save" question then it wont be showing up ..... You will need to hit F5 and reinstate the command in the warnings box
  • Maybe that is what I need the code. What I have problems with is. I will run a part look at the results and see that I don’t want to send them to the Database so I will say no. Run another part and like the results and want to send that data to the datapage. So is the code the way to go? Or do I need to delete that XSTATS11.TMP every time before I run a part program? At this point when I say yes everything goes. Thank you for your reply. It's so great that there is someone out there that has the answers and will help. Thank u. If anyone has the code let me know and I'll give it a try. Slight smile
  • Maybe that is what I need the code. What I have problems with is. I will run a part look at the results and see that I don’t want to send them to the Database so I will say no. Run another part and like the results and want to send that data to the datapage. So is the code the way to go? Or do I need to delete that XSTATS11.TMP every time before I run a part program? At this point when I say yes everything goes. Thank you for your reply. It's so great that there is someone out there that has the answers and will help. Thank u. If anyone has the code let me know and I'll give it a try. Slight smile


    What you can do also, is clear mark the statistic command (F3) so it turns blue prior to running the program.

    After looking at the results if you want to send to stats, unmark the command(F3 again) and select "Send current stats to file..." in the Operation pull down menu.
  • ...and you are being selective why? Is this not creating a "perfect" set of data and not showing the true capability of your process?
  • If I get readings that are questionable I will not send the data and clean part, look for any mistakes that I could have made and rerun to make sure that the data is not corrupted by human error.
  • If I get readings that are questionable I will not send the data and clean part, look for any mistakes that I could have made and rerun to make sure that the data is not corrupted by human error.

    Sounds good to me. This is from craiger_ny...
    $$ NO,
         ,
         ,
         ,THIS WILL REMOVE XSTATS11.TMP FILE AND ALLOW ANOTHER
         ,XSTATS11.TMP TO BE CREATED
         ,
         ,
    V1         =FILE/EXISTS,C:\PROGRAM FILES\WAI\PC-DMIS 4.3MR2RC\XSTATS11.TMP
                IF/V1==1
                FILE/DELETE,C:\PROGRAM FILES\WAI\PC-DMIS 4.3MR2RC\XSTATS11.TMP
                END_IF/
                FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;MEAS,NOM,TOL,DEV,OUTTOL, , 
    $$ NO,,

    File path is where ever you have loaded PC-DMIS
  • Sounds good to me. This is from craiger_ny...
    $$ NO,
         ,
         ,
         ,THIS WILL REMOVE XSTATS11.TMP FILE AND ALLOW ANOTHER
         ,XSTATS11.TMP TO BE CREATED
         ,
         ,
    V1         =FILE/EXISTS,C:\PROGRAM FILES\WAI\PC-DMIS 4.3MR2RC\XSTATS11.TMP
                IF/V1==1
                FILE/DELETE,C:\PROGRAM FILES\WAI\PC-DMIS 4.3MR2RC\XSTATS11.TMP
                END_IF/
                FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;MEAS,NOM,TOL,DEV,OUTTOL, , 
    $$ NO,,

    File path is where ever you have loaded PC-DMIS


    +1 > Good one!!
  • Hey James,
    I see your using DATAPAGE +, How do you like it?
  • Hey James,
    I see your using DATAPAGE +, How do you like it?

    I lie. I was supposed to get it sent to me and I changed my sig because of that but it has yet to show up. Thanks for the reminder.