Hey folks, I’ve been having issues with data being saved correctly and recalled correctly on program start/stop since beginning the use of the program. It appears in two ways, (bear in mind I always close with the ‘X’ in the window and by confirming close in the dialog).
1) Lost or incorrect data. After close I will restart to find that any number of saved data are wrong or gone. I have the M99999 save the loaded tool number into a custom field in the profile, often this field is wrong (usually just 0) OR my WCS that was active when closed is unsaved or otherwise wrong. It’s about 1/10 closes/opens that I find something didn’t save or load right. This is without making any changes to the way I’m closing/opening the program or any change to this code that works the other 9 times.
2) Failure to load data correctly if one of my macro loops opens a messagebox on program open. I have various loops that monitor various conditions in the system. If one of these conditions isn’t met my macro loop will of course catch it as soon as it is activated. Why is this preventing M99998 to recall data properly to the UI?