Automatic Update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Automatic Update

    Does anyone know what is the file name that dumps XSTATS11.tmp in to Data Page?
    Right now it saves the data in XSTATS11.tmp, but it doesn't update data page, I have to do it manualy by using Data Editor.
    PC DMIS 3.5 MR2
    Thanks,
    Zoran

  • #2
    PCDMIS should be calling DPUPDATE.EXE (located in the pcdmis directory) when execution completes. DPUPDATE is part of the pcdmis install set.

    Comment


    • #3
      It's there, might be missing some .dll file

      Comment


      • #4
        You would get an error message if a dll was missing. What is the size & time stamp of DPUPDATE.EXE? If you double click DPUPDATE what happens?

        Comment


        • #5
          Anytime that I have PC-DMIS saving to XSTATS11 I quickly delete all XSTATS11 files that are on my C:\. This usually clears things up. XSTATS11 shows up anytime that there is an error writing to the database. Even if you correct the original error XSTATS11 will capture all updates until the XSTATS11 file is deleted.
          sigpicHomburgler
          DEA Bravo Dual Arm | 3.5MR2
          B&S 7107 | 3.7MR3

          Comment


          • #6
            If there is an error the XSTATS11.TMP file is not deleted. This gives the user the option to edit the file (via WordPad) to correct the error. The error 99% of the time is an incorrect database path. Once corrected and saved, the user could just double click on DPUPDATE once again to update the database. If the data was not needed the file could be deleted as mentioned by homburgler.
            I do not think this is the issue that zoran has.

            My DPUPDATE.EXE for V35MR2 has the following:
            size 248kb
            date 4/24/2003
            If I right click on the exe, Properties, Version Tab has 3.25.6

            Comment


            • #7
              When I double click on DPUPDATE.EXE nothing happens.
              Has the following:
              File Version 3.25.3.0
              Date Created 9/19/2005
              Size 248 kb

              Comment


              • #8
                If there is no XSTATS11.TMP file, nothing will happen.
                Created date would be the date of installation. Date Modifoed would be the date the exe was created.
                Are you performing a STATS/TRANSFER in your program?
                Maybe you should attach your part program (zipped) so people could check it.

                Comment


                • #9
                  XSTATS11 is there and still not updating

                  Comment


                  • #10
                    If there is no XSTATS11.TMP file (or if it has a size of 0), nothing will happen.
                    Created date would be the date of installation. Date Modified would be the date the exe was created.
                    Are you performing a STATS/TRANSFER in your program?
                    Maybe you should attach your part program (zipped) so people could check it.

                    Comment


                    • #11
                      All the data gets transferred in to XSTATS11.tmp but it's not updating automatically. I still update the Data Page manually through Data Page Editor.z.zip
                      Thanks for all your help

                      Comment


                      • #12
                        I loaded your program in V35MR2. I execute the part program. I am prompted to "OK to Save Statistics?" along with the current Stats Count. I press Yes. At the end of execute I am prompted "Update the Database Now?". Again I press Yes. The data would be sent if I was pointing to a valid DB.
                        1) Are you getting the initial "OK to Save Stats" message? I ask this because your Stats Count is sitting at 1. It shoud increment each time stats are saved.
                        2) Are you getting the "Update the database now" message"
                        3) You really should have "READ=10,WRITE=20,MEMPAGES=64" instead of 0 for the values but I do not think that matters in this case.
                        4) DIM LOC1 does not have a feature being dimensioned. I put in TRIM24.
                        5) How are you executing? Complete execute from the beginning or a partial?

                        Comment


                        • #13
                          I just copied small part of the program and paste it in new prg.just to show the code, because we are limited with file size (no more than 200kb), that's the reason why you are not seeing all the dimensions or alignments and that's why stats count is 1.
                          I'm getting "OK to Save Stats" and "Update the database now" , but when I click"yes" on "Update the database now" it will continue execution but it's not updating (you know how you see the blue bar after you say "yes" on "Update the database now", well it doesn’t show that bar) that's how I know it's not updating. It saves all the data in XSTATS11.tmp but not get transferred in to Data Page and stats count changes for the next part.
                          So when I'm done measuring before I go home, I open Data Page Editor and from the menu, Options-update-Ok,
                          File-update-XSTATS11.tmp-OK and than the blue bar shows how it's updating each part and all the Data is in Data Page.
                          Thanks SABarber,

                          Comment


                          • #14
                            OK - I am trying to determine if it is a PCDMIS issue or DPUPDATE issue.
                            Execute the program as normal. The use Explorer to go to the location of XSTATS11.TMP, verify a size (should be greater than 0). If there is a size, double click on DPUPDATE.EXE which should be in the same directory. If it is not in the same directory that would be a problem. Does the updating dialog display or does nothing happen?

                            Comment


                            • #15
                              After I execute the prg. the data is transferred to Xstats11.tmp the size is 14.8kb DPUDATE.exe is in the same directory. When I double click on it doesn't show updating dialog. It would show "hour glass" for a second and that's about it nothing else.
                              But if I update manually than updating dialog displays.

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X