hexagon logo

Comparing the PROBEDATA("TIME") vs SYSTEMTIME for Calibration time limits

Looking for some help in regards to the coding for the above.

I want to enforce a 12 hour time limit on calibrations, i.e if the SYSTEMTIME elapses 12 hours from the PROBEDATA time, a label in the program forces it to the bottom of the program, preventing any further measurements.

I can return the active PROBEDATA("TIME") and current SYSTEMTIME string values no problem

Its just the comparing of the 2 raw elements, where I'm struggling.

Any help or ideas would be appreciated.

Thanks in advance
Parents
  • Right - before you do this have a think...

    Do you use multiple tip angles in a program? Do you intend to check each one?
    How long are your programs? There's a good chance you run a program and then it quits at the last probe or tip change.

    How do you qualify? All in one go, or different probe at different times?


    There's probably a better way to do this.
Reply
  • Right - before you do this have a think...

    Do you use multiple tip angles in a program? Do you intend to check each one?
    How long are your programs? There's a good chance you run a program and then it quits at the last probe or tip change.

    How do you qualify? All in one go, or different probe at different times?


    There's probably a better way to do this.
Children
No Data