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

Home » Public Forums » archive » Fortran + IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Fortran + IDL [message #26374 is a reply to message #26230] Mon, 20 August 2001 11:56 Go to previous message
Stein Vidar Hagfors H[1] is currently offline  Stein Vidar Hagfors H[1]
Messages: 56
Registered: February 2000
Member
fskhk@puknet.puk.ac.za (Helena Kruger) writes:

> I am working in Fortran (with a complicated program) and IDL. Up to
> now I put the output of the fortran data in a text file, go to IDL,
> read the text file in IDL and draw the graphs. For every small change
> in fortran I have to go in and out the fortran program and IDL
> program.

Why do you need to do that? You should be able to have one window with
IDL running (constantly), and one window with compilation/running of
the Fortran program... Recompile/run the Fortran program, then re-read
the output file..

> Will it be easier and better to use ActiveX or Callable IDL
> under Windows? How and where can I learn to make the linkage?

I'd recommend either callable IDL or (even better) IDL Remote
Procedure Calls (look in the External Development Guide - edg.pdf in
the documentation library for IDL). It's possible then to make (C)
wrappers that will send your Fortran variables directly to IDL,
execute calls to plot data etc..

The reason why RPC is better than Callable for this instance is that
you can have *two* (or more!) clients connect to the same idlrpc
server, so you can do interactive work as well on the variables sent
over by your Fortran program.

However, unless the above two paragraphs tickle your programmer's
curiosity to learn something neat, I'd just stick with your current
setup (but don't quit the IDL session every time!). Getting something
up and going may take quite some time - so it all depends on how long
you expect to be testing this out interactively...

--
------------------------------------------------------------ --------------
Stein Vidar Hagfors Haugan
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center, Email: shaugan@esa.nascom.nasa.gov
Mail Code 682.3, Bld. 26, Room G-1, Tel.: 1-301-286-9028/240-354-6066
Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Puzzle with floating point underflow
Next Topic: Puzzle with floating point underflow

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

Current Time: Sat Oct 11 10:11:47 PDT 2025

Total time taken to generate the page: 0.64396 seconds