Hello!I am able to read in the tabular numerical values from a ZTD file.But how can I read in the column names, row names and extra data as you see in a ZTD file? Thanks
Hello,The following ZPL-macro is run which performs a geometric analysis and then saves the text of this window: OPENANALYSISWINDOW IMA, GIA_cfg_file$n_GIA_window = WINL()SAVEWINDOW n_GIA_window, A$ The size of the image is 125 pixels, resulting in a text file size of 400 KBWhat I observed is that the time it takes to execute the SAVEWINDOW function takes a very long time of about 20 seconds (!), regardless of whether the text file is a temporary or permanent file.The saving takes nearly as long as the execution of the image analysis.However, if the text output of the very same “Geometric Image Analysis” window is saved manually to the very same file A$, the saving is performed in no time.The subsequent extracting of specific strings from this text file by using OPEN, READSKIP and READSTRING is also executed within “no” time. So my question is:why is SAVEWINDOW so slow or more importantly: how can I significantly speed up the saving process?Best regards, Marcel Zemax-Version: Ansys
How to update opticstudio to the latest version
Typically I would only save the Zemax file as below for later useTheSystem.SaveAs(r"C:\Path\To\Save\MyLens.zmx")Is there a way to save the Zemax file as a Lens Project to a folder? With all the dependencies pointed to the folder root? Such as: GLASSCAT, COATING, CONFIG, etc.?Thanks
Hi, I am modelling a setup in which an LED light source is homogenized using two fly's eye multi-lens arrays.There exists already a tutorial on a fly's eye setup:https://optics.ansys.com/hc/en-us/articles/42661744169363-Fly-s-eye-arrays-for-uniform-illumination-in-digital-projector-optics In my setup, I have chosen components that are all off-the-shelf available.My setup consists of:1. LED light source, wavelength = 340 nm, emitter size = 6x6 mm.2. Collimating lens, spherical type, focal length = ~50 mm @340 nm.3. MLA1: a multi-lens array with pitch = 7 mm (in X) and 5.4 mm (in Y) and nr of lenslets in X = 7 and in y = 9 and focal length ~ 40 mm at 340 nm.4. MLA2: identical to MLA1. MLA2 is placed in the focal length of the MLA, that is at 40 mm behind MLA1. This is the classical fly's eye setup configuration.5. A focusing lens with f = 474 mm @340 nm. What I observe:1. A square-like top-hat profile at the focal plane of the focusing lens (see figure in additional post below).2. A cro
As per title, I face this issue every time, with many analysis windows, both with old and new graphics.Changing the windows aspect ratio changes the results.Good Bad Bad
Hi, I am trying to run non-sequential sequence in a loop, for which I change a parameter and save the detector data for each loop. The text tab should allow me to export the irradiance data at each coordinate, but I am a little uncertain how I can grab detector 1 and 2, then save the data as text files as for example data_d1_01 and data_d2_01, data_d1_02 and data_d2_02,..etc. Any suggestions appreciated. My experience with ZPL is limited. My attempt: update ALLFILENAME$ = "data_xtilt"+ $STR(xtilt) + "_tiltY_" + $STR(ytilt) + ".TXT"savewindow 1, H:\_work\ZEMAX\+FILENAME$savewindow 2, H:\_work\ZEMAX\+FILENAME$This got an error “ERROR in SAVEWINDOW: Window 1 does not support text”
Zemax in Non-Sequential: I have a system with a grid of emitters, see below, and a detectors (polar and rectangular) about 1000mm away. I started by collimating the light which worked to get nice disscrete point; however, the magnification is not correct. I could change my target angle but this seems like it will just fuzz out the image. I’d like to set the EFFL of the lens so that with the object to lens I get the correct magnification. What is the best way to do this?
How do I turn this off? We pay to use Zemax, not to be an advertiser for Ansys.
I would like to study the tolerance of my optical system. I want to evaluate the RMS Sport and the RMS wavefront error at the same time in the same tolerance simulation. However, we can choose only one of the two criteria during a tolerance run. Do you know if it's possible to evaluate both criteria at the same time, and if so, how?Thank you very much.
Hi,I want to use Corning HPFS 7979 glass material which has very good transmission in the IR region. I didn’t find the corning.agf glass material in any of the glass catalog. Is somewhere else it is there, where can i find that glass in the catalog. Can any help in this regard will be appreciated.
Hi I am trying to add surface form error individually on a lens and a flat window of λ/5 on both sides. Optical drawing doesn't mention the kind of aberration this surface form error brings. How do I perform this using zernike coefficients with the surface type of zernike standard sag?
I tried to run a POP analysis on the GRIN interconnect example that comes with Zemax. It complains POP is not possible with ‘Use Rays To Propagate To Next Surface’ is checked. I do not think it is possible to uncheck this option with Gradient surface.Is it not possible to run a POP analysis on GRIN lens designs?-AS
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.