comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL DDE and ZEMAX
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL DDE and ZEMAX [message #53514] Tue, 17 April 2007 09:09
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
DDE? That was shipped with windows 3.1! It was dropped with IDL 5. I
think your lucky that you're getting anything to work :)

Does ZEMAX provide a COM interface? If so, you could use
IDLcomIDispatch, although it is a bit limited. There are JAVA based DDE
libraries that you could use along with the IDL_JAVA bridge but that
would probably take some work. Lastly, you can try using CALL_EXTERNAL
to call DDEML.DLL directly.

Hopefully someone else will have some better ideas...

-Rick


lbusoni wrote:
> Hi all,
> I need to send commands to the ZEMAX raytracer from IDL.
> ZEMAX accepts DDE commands, and IDL has a kind of discontinued support
> of DDE.
>
> In fact, Get* commands to retrieve data from the ZEMAX session work
> fine, but when I use the Set* commands to modify a value in the ZEMAX
> datasheet nothing happens even if the return value says 'ok'.
> I don't think the problem is on the ZEMAX side because everything
> works fine using MATLAB or C examples available on the Zemax web site;
> it seems to be a problem with DDE client in IDL.
>
> Any idea on how to convince IDL and ZEMAX to communicate?
> Did anybody have this kind of problem before?
>
> thanks
>
> Lorenzo
> --
> Lorenzo Busoni - LBT AdOpt Group
> Osservatorio Astrofisico di Arcetri
> L.go E. Fermi 5 50125 Firenze (Italy)
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Is there any make_folder stuff like that in IDL?
Next Topic: Re: Is there any make_folder stuff like that in IDL?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:43 PDT 2025

Total time taken to generate the page: 0.00539 seconds