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

Home » Public Forums » archive » IDL sav files and console output (IDL 8.2)
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: IDL sav files and console output (IDL 8.2) [message #82096 is a reply to message #82002] Tue, 13 November 2012 21:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
cyndy writes:

> I am struggling today with what looks like some fundamental
> misunderstandings about using ILD sav files. I'm working on some
> legacy code where the desired end product is a sav file IDL
> 'executable'. There are some things that need to be changed in this
> project, and I want ro run the project right from the IDL project, vs.
> runnin the sav file - but I can't.

No, save files don't really "run" from the Workbench. In fact,
they don't do much there except complicate your life by
confusing you about which programs are already compiled,
etc. I'd try to keep them as far away from your Workbench
as possible. :-)

> I can a newly compiled and
> generated sav file just fine, but if I left click on the project
> itself in the workbench, it does not run, and I get a 'class not
> found' error (the project interfaces with some Java code). But the
> sav does not complain. Why / how is that?

As I say, save files are just there to confuse you. Build them,
then move them far away from you. Save file can be *restored*
from the IDL command line. I really don't know what happens when
you select them from the Workbench. Nothing useful, probably.
And, certainly, nothing good.

> Also, one reason I am trying to run the project without using the sav
> file, is that I cannot seem to print output from the projects'
> procedures to the console, running the sav file. Is that correct?

There is no "console" when a save file is "running", since it is
running from a run-time version of IDL, which by definition
doesn't have a console. So, you aren't going to have anything
printed out anywhere, unless your program writes to a file, or
maybe to a text widget where the user can see it in the GUI.

> thank you to anyone who can shed some light on this.

I think what you probably don't realize is that you have
two different versions of IDL installed, and different things
happen in each. It *is* confusing.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Overplotting contour plot with one specific level labeled
Next Topic: Image Overlays on Google Earth with KML Files

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

Current Time: Sun Oct 12 10:11:41 PDT 2025

Total time taken to generate the page: 0.03325 seconds