Skip to content

Which Zemax version is required? #89

@RichardPflaum

Description

@RichardPflaum

Hi, sorry to bother you, but I always get timeout errors when trying to run the Hello World mini-example:

from __future__ import print_function
import matplotlib.pyplot as plt   # import plotting module
import pyzdde.zdde as pyz         # import pyzdde module   

ln = pyz.createLink() # DDE link object
print("Hello Zemax version: ", ln.zGetVersion())
ln.close()

produces the error:

TIMEOUT REACHED. Please use a higher timeout.

Hello Zemax version:  -998

I suspect this is because I am using a OpticStudio Standard license instead of a professional license, could that be? I have been looking for a while now and didn't find anything concerning those requirements in the PyZDDE manuals or any change logs of Zemax versions for that matter.

My specifications:
Zemax OpticStudio 14.2 Standard
Windows 10 Professional, Version 10.0.17134 Build 17134
Python 3.6 (also tried 3.5.5)

Thanks a lot in advance! Best,
Richard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions