Zemax strange behaviour with pam2r

44 views
Skip to first unread message

Riccardi, Armando

unread,
Nov 27, 2021, 5:01:42 AM11/27/21
to PAM2R
Forwarding in the PAM2R group the discussion about the following issue:

---------- Forwarded message ---------
Da: Conchi Cardenas Vazquez 
Date: ven 2 feb 2018 alle ore 16:36
Subject: Re: [Pam2r] Fwd: Re: Zemax strange behaviour with pam2r
Hello pam2r Users, hello Jacopo,

I passed the info about the libraries to the zemax support, they answered the following:
"
Thank you for providing more information.  The libraries you mentioned look no problem to me.
Unfortunately we cannot debug for users’ DLL except the problem can also be reproduced with the built-in DLLs.
I would suggest you compare the nearest built-in code with your own code. 
You can find the source code of these built-in DLL at \Documents\Zemax\DLL\Surfaces.
I think the problem is probably at your custom code.
"

Meanwhile, I was searching a little bit about where could be the issue.
I´ve compiled some info from other users, I put here the links.
If you can read these, maybe there is some clue there:

* Zemax manual, 18.1  ---> pages 332-333 (see attached to this e-mail those pages).
* In the zemax forum---> UserDefinedSurface(UDS)-DLL-Error  -->   http://forum.zemax.com/Topic4335.aspx
* In the zemax web of knowledg  ----> How to debug a DLL or EXE  ----> http://customers.zemax.com/os/resources/learn/knowledgebase/using-zos-api-how-to-debug-a-user-defined-dll
* Other users notes ----> Create a Zemax 64 bit DLL ---> https://texnical.wordpress.com/2014/07/23/create-a-zemax-64-bit-dll/

Have a nice weekend,
conchi


Zemax, LLC OpticStudio 18.1-pages.pdf

Armando Riccardi

unread,
Nov 27, 2021, 5:06:04 AM11/27/21
to PAM2R, Riccardi, Armando
Forwarding the mail exchange:


Conchi Cardenas Vazquez 
26 novembre 2021 18:09
A: Jacopo Antichi 
Cc: Armando Riccardi, Matteo Munari


Hola! and thank you for your quick reply.
I will do 1) and 2) on Monday.
I will also try on Monday if I can load the pyramid in an old version of OpticStudio (from July 2021). So, I can write a more complete report.

Of course! I do quote the dll in our documents. Right now is mainly internal documentation, and the documents we share with ESO. I use this quotation:
"Jacopo Antichi et al. “Modeling pyramidal sensors in ray-tracing software by a suitable
user-defined surface”. In: Journal of Astronomical Telescopes, Instruments, and Systems
2, 028001 (Apr. 2016), p. 028001. DOI: 10.1117/1.JATIS.2.2.028001. "

I hope is correct. If not, please tell me.

It would be wonderful if I can contribute to the develop of the pyramid. For me, there is only advantages to be able to use the pyramid in the sequential mode... But you already know.
Ok, I do on Monday. For today, I finish.


Have a nice weekend,
conchi

On 26/11/2021 17:17, Jacopo Antichi wrote:

Hola!

thanks to report this problem.

1) please inscrive to the pam2r user list available in the pam2r web Page and report the problem. 
2) ask to Armando Riccardi (INAF/Arcetri) if we can share the C code with you, then if accepted you Will become part of the builder list, and you Will Be able to interact with Matteo Munari (INAF/Catania) i.e. our developer in C.
3) I Will try to load the dll into my latest OpticStudio version tomorrow morning 27.11 to check and report to you in this coversation.

Cheers, Jacopo

PS: remember to quote the dll in your activities for the ELT/METIS. Thanks!!


Armando Riccardi

unread,
Nov 27, 2021, 5:09:53 AM11/27/21
to PAM2R
Forwarding in the group another message:

Jacopo Antichi 
27 novembre 2021 10:54
A: Conchi Cardenas Vazquez 
Cc: Armando Riccardi , Matteo Munari 


Hola!

Loading the Zemax file inside pam2r web Page, with only 1 session opened, my OpticsStudio has no problems.

Reference for quotations Is fine!

I am out of ground based astronomy since 6years now, so no willing to re-enter. Too much topics in space technologies for me!

Please follow steps 1)&2) then Armando and Matteo Will help you. I am site of that!

Best regards, Jacopo
PAM2R_LOADFILE_by_OPTICSSTUDIO_20.1.jpg
Reply all
Reply to author
Forward
0 new messages