Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which Zemax version is required? #89

Open
RichardPflaum opened this issue Oct 22, 2018 · 0 comments
Open

Which Zemax version is required? #89

RichardPflaum opened this issue Oct 22, 2018 · 0 comments

Comments

@RichardPflaum
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant