hexagon logo

exiting/closing programs without updating modification date and time stamp

I am working with medical components and once we have a controlled test method we need to lock the program from any modification including updating date and time stamp. Quit still updates date and time in PC DMIS. When you exit in INSPECT does it update date and time stamp? Anyway, to do it in PC DMIS?
  • If I understand correctly, I think you are referring to the Date Modified value for the program file in Windows. It always bothered me that PC-DMIS will change that date/time value the moment you open a measuring routine. It can make it really difficult to keep track of program changes and copies.

    If you set a program file to be read-only in Windows, it will prevent PC-DMIS from changing the date/time value. The downside is that every time you open that measuring routine there will be a pop-up a warning saying "[long file name/path...] - Access is denied." But once you close that message by clicking OK, the program will run as normal. If you try to save the measuring routine it will show you an error message. If you try and close the measuring routine you will get a different error message, but it will also open up the Save As dialog, so you have the option to save a copy of the measuring routine with a different file name.
  • If I understand correctly, I think you are referring to the Date Modified value for the program file in Windows. It always bothered me that PC-DMIS will change that date/time value the moment you open a measuring routine. It can make it really difficult to keep track of program changes and copies.

    If you set a program file to be read-only in Windows, it will prevent PC-DMIS from changing the date/time value. The downside is that every time you open that measuring routine there will be a pop-up a warning saying "[long file name/path...] - Access is denied." But once you close that message by clicking OK, the program will run as normal. If you try to save the measuring routine it will show you an error message. If you try and close the measuring routine you will get a different error message, but it will also open up the Save As dialog, so you have the option to save a copy of the measuring routine with a different file name.


    This is how we do it here. Not for medical reason however. Just so no operators accidently change / delete any of the programs.

    Clicking "ok" on the error message at the very beginning of opening a program has become like second nature at this point.
  • If the PRG is not read only, pcdmis will open it with a read/write mode. MS internal code will automatically set the modified date/time of the file at that time.
  • Need more help with this. If I make it read only it won't open in Hexagon Inspect software that is designed for operator simplicity. Anybody have any other thoughts of a solution?
  • Need more help with this. If I make it read only it won't open in Hexagon Inspect software that is designed for operator simplicity. Anybody have any other thoughts of a solution?


    Inspect is designed for maximum frustration.......
  • There is a setting in Inspect that tells it to make a local copy of the routine rather than executing the original. I'm not sure if that would update the original file's time & date stamp but you could give it a try. Other than that, maybe talk to your local Hexagon representative about Protect: https://hexagon.com/products/protect
  • we upload "disaster recovery" to our document control, then set the files as read-only on the machine. I was aspiring to implement inspect UI to make it easier on our operators... but i guess this would be a real issue.

    I presume you could eliminate use of Inspect.
    Or, if the PC's have CD-Rom drive's, you could burn the routines onto a CD, and make the physical copy of the CD the controlled document. a really picky customer mandated that on us and it sucked really bad. I definitely don't advise that.
  • We use inspect daily on programs that are read only in folders that only admins have write permissions. Also not using local copies from inspect option. We never had any issue...
  • Inspect is the greatest tool invented after the wheel imo :P

    Not allowing the operators to do anything, restricting everything, even basic windows functions like copy pasting files is a genious idea. I hope whoever came up with this program to have gain a big bonus (NOT joking)!