hexagon logo

Loop ID Confusions with On Error Correction

Hey guys,

I have been trying to get a very long program to run without stopping and every once and awhile I will get an infamous focus issue but literally just re-running the same thing it will take off and run again. I tried the on error commands to take care of it but it in turn created a new loop so say the program is on Hole_1[20] but a focus error occurs and it re runs automatically it will instead report it at Hole_1[21] instead of it actually being 20. Without going back into the raw data before I present it and changing all of the ids back 1 number how can you work around this?

Thanks!