I am running Zemax OpticStudio 19.4 SP2 on Windows 10. When I run the following line in a loop in a macro, randomly, some of the files are empty. The non-empty files are correct.
GETTEXTFILE OUTPUT_PSF_FILE$, Hps, CFG_FILENAME$, 1
Please help!
Thanks,
Qiang