Solved
ZOS-API - POP Analysis - Display Tab - MODIFYSETTINGS - parameters
I'm looking for a description how to access the parameters in the display tab of a POP Analysis in a ZOS Application.
In particular, I want to save the output beam on all surfaces to a specific file.
What are the parameters which need to be set in the cfg file via the MODIFYSETTINGS command to accomplish that?
In the help pdf file only descriptions for the parameters in the other 3 tabs of the POP analysis window are given.
Or is this not possible?
Thanks,
Dirk
In particular, I want to save the output beam on all surfaces to a specific file.
What are the parameters which need to be set in the cfg file via the MODIFYSETTINGS command to accomplish that?
In the help pdf file only descriptions for the parameters in the other 3 tabs of the POP analysis window are given.
Or is this not possible?
Thanks,
Dirk
Best answer by Sandrine Auriol
The post is a bit old, but here is a code snippet that one of my colleague (thank you David!) wrote in Matlab to use the RunHighSamplingPOP method. I thought it could be useful to other users as well.
View originalSamp_Dir = TheApplication.SamplesDir;
CFG_File = System.String.Concat(Samp_Dir, '\LENS.CFG');
x_sam = ZOSAPI.Analysis.POPSampling.S_512;
y_sam = x_sam;
Text_File = System.String.Concat(Samp_Dir, '\LENS_HighPOP.txt');
Beam_Name = System.String('LENS_HighPOP.ZBF');
TheSystem.Analyses.RunHighSamplingPOP(CFG_File, x_sam, y_sam, Text_File, Beam_Name, true);
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.