DLL

To define a beam using an external program, the algorithm which computes the initial complex electric field from user defined parameter data must be written and compiled into a Windows Dynamic Link Library, or DLL. Sample DLLs are provided with OpticStudio with source code. Studying an existing DLL is the best way to see how the DLL is used to define the beam amplitude and phase. New DLLs may be easily created with a suitable compiler.

Next: