How to debug a DLL or EXE

This article shows a technique to attach the Visual Studio debugger to a running process in the case of a user defined surface (DLL) and in the case of a user defined operand called UDOC (EXE). The technique is shown here using Microsoft Visual Studio Express 2013 Desktop.

Compile the DLL or EXE
Open OpticStudio and select the user defined surface or operand
Attach to Process
Set Breakpoints
Run the DLL/EXE
Stop the debugger
Distributing the DLL/EXE in Release Mode
Conclusion



 

Authored By: Michael Humphreys, Sandrine Auriol and Tim Gustafson

Published On: July 11, 2017


Mapping DDE data items to ZOS-API methods

This article contains a table mapping the old DDE data items to the new ZOS-API methods.

Authored By: Thomas Pickering

Published On: July 6, 2017


OpticStudio Cloud References

This article contains a summary of all the pages on the Zemax website with information about the OpticStudio Cloud edition. 

Authored By: Kristen Norton

Published On: May 23, 2017


Cloud FAQ

This article answers common questions about the OpticStudio Cloud edition.

Authored By: Thomas Pickering

Published On: May 23, 2017


Support Material for ZOS-API Users

Support Material for ZOS-API Users

Authored By: Tess Jacobs


NSC Angle of Incidence from Ray Database Viewer

This article shows the steps for calculating the AOI based on the LMN direction cosine of a ray and the Normal vector of the surface at the intersection point.  There is a provided ZPL macro will will automatically calculate this information for the user from a ZRD file loaded in a Ray Database Viewer.

Authored By: Michael Humphreys

Published On: February 14, 2017


Understanding the Detector Polar

The Detector Polar object stores the intensity data from NSC source rays that strike it. The Detector Polar is spherical in shape but the resulting data distributions in the angular domains are displayed in 2D. And this point can cause confusion.
The aim of this article is to explain clearly how OpticStudio maps rays striking 3D sphere onto a 2D intensity plot. It also gives some details on the conventions used in OpticStudio.

CONTENTS:

 

Authored By: Sandrine Auriol

Published On: January 10, 2017


Adjusting Relative Luminosity to Simulate the Visible Spectrum

Relative luminosity is very important in optical design. By defining appropriate weighting per the characteristics of the optical system, we can better model what we would expect to see. This article demonstrates a method of using wavelength weighting to model the relative luminosity of the visible spectrum as perceived by the human eye.

Authored By: Kayo Sugiyama, translated by Jade Aiona

Published On: May 5, 2017


Getting Started with Python

This article will walk through the basics of getting Python setup on your system in order to run ZOS-API.  There are 2 required downloads (Python and pywin32) along with a few recommended downloads (an IDE and Python modules).   Except for the 2 required downloads, all other recommendations are based on a Zemax Engineer's personal preference and do not reflect an official endorsement as to the quality of these products or any competitors.

CONTENTS:

Authored By: Michael Humphreys

Published On: November 14, 2016


Display Pupils on a Layout Plot

You can easily show the Entrance and Exit Pupils in both the LDE and Layout Plots by using dummy surfaces and pickups to show the location of the pupils without affecting the other surfaces in your sequential system.  This article walks through how to use ZPL Macro and Chief Ray Height thickness solves in the Lens Data Editor (LDE) as well as hiding dummy surfaces in a layout plot.

Authored By: Michael Humphreys

Published On: November 13, 2016


Displaying results 1-10 (of 310)
 |<  < 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10  >  >|