[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ploting some data during fortran code execution
- Subject: Re: Ploting some data during fortran code execution
- From: steinhh(at)ulrik.uio.no (Stein Vidar Hagfors Haugan)
- Date: 3 Jun 1999 12:36:51 GMT
- In-reply-to: firstname.lastname@example.org's message of 3 Jun 1999 12:03:04 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: University of Oslo, Norway
- References: <3756640D.A277B67D@eureka.kjist.ac.kr><email@example.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:15029
Oh, by the way, I thought I should mention a *very* nice
way to take advantage of IDL's RPC capabilities.
I'm currently developing C programs for my PhD thesis, but
I like to use IDL as a plotting program (for easy visual
debugging) and as a prototyping language.
The way I do this is to use Remote Procedure Calls to send
data and commands to IDL. The *really* neat thing,
however, is that one idlrpc server process can be a server
for more than one client simultaneously.
So what I do is to use the idl/external/rpc/example.c
program as a command input front-end to an idlrpc process
running in the background.
My C programs connect to the same process and send data
and [e.g. plotting] commands. At the same time, I can use
the front-end to type commands interactively. The
example.c program is pretty "dumb" wrt. command line
editing, but guess what, you can easily run it under
idl-shell (sorry, idlwave-shell) in emacs, giving you all
the command line editing functionality you could ever
want, as well as the neat debugging/breakpoint
functionality of the idlwave package!
I really don't know what I'd do without it!