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

Home » Public Forums » archive » Re: how to save the console output as a ascii or text file in 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: how to save the console output as a ascii or text file in IDL [message #61738] Tue, 29 July 2008 15:47 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
arun writes:

> I have a procedure which takes an image as input and calculates the
> percent of soil and water or pore space and the output is displayed in
> console window. I want to know how to send these values to an ascii or
> notepad file. I tried with single file.Its working fine. But when i
> used dialog_pickfile and tried to import multiple images its not
> working. I want to know how to import multiple images and send those
> values into as ascii or text file.The file format is TIFF.Thanks in
> advance.

It is not clear (to me, anyway) what you want to do.
If you want a separate ASCII file for each image, then
just open, write, and close the ASCII file in your image
loop. If you just want one ASCII file, then open and close
the file outside the loop, and write to it inside the loop.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: WSHOW Problem Persists
Next Topic: Re: JPEG2000 and GEOTIFF query

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

Current Time: Sat Oct 11 11:25:39 PDT 2025

Total time taken to generate the page: 1.75992 seconds