I have tried now to use TOLR002.TOP instead of TOLR001.TOP. But still the same crashes after about 2 minutes of optimization. When I stop optimization before the crash and check the result, TOLR has a nice effect decreasing the sensitivities. So my Tolerance Data and Merit Function seem to be OK.
I can do the same optimization without the TOLR function without getting any crashes, but of course optimization does not run for 2 minutes.
I have also checked the eventlog of Windows, but nothing suspicious.
Any ideas what could block Zemax from access the TOLR002.TOP file?
Many thanks for any ideas.
Markus
Upgrade to OpticStudio 22.1 Professional 64bit did not help. Still the crashes.
Hi Markus,
Within your TOP configuration file, what are the settings for Criterion? Are you using a User Script or Merit Function criterion? This type of problem can be a result of using a command which is not optimized for multi-threaded processes. If you let me know what your settings are, I can try to investigate further!
Hi Allie,
thanks for coming back with these ideas!
OK, I found my mistake. Actually, I got lost in the manual, I saved the data of the Tolerance Data Editor in a .tol file, not the Tolerance dialog box. I renamed the .tol file into .top and moved it to .config . I am really surprised that it worked at all?!
Now I have pressed save in the Tolerance dialog box to save a .top and everything is fine now. No crash anymore. Probably you think now, that you can’t think as weired as some users :)
Thanks again for the support. Your message gave me the right hint, because I was confused why you talked about the Criterion, which is not saved in the .tol file.
Markus
Hi Markus,
Glad to hear my response pointed you in the right direction! And don’t worry - it’s easy to get these kinds of things confused. It’s why we have a full Knowledgebase article dedicated solely to file extensions ;). Hoping you have an enjoyable week ahead!