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

Home » Public Forums » archive » flush output files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
flush output files [message #2306] Thu, 09 June 1994 11:34
eharold is currently offline  eharold
Messages: 12
Registered: July 1993
Junior Member
I have a long IDL program which I've designed to be run in
the background in batch mode. All output goes to various files.
One of the files contains various informational messages, particularly
counters that let me know how far into a given loop the program has
progressed. These are placed into a file via printf statements.
Unfortunately IDL doesn't seem to write into the file as soon as
a printf statement is issued but rather waits for sufficient data to
accumulate to fill some buffer. Or at least that's what the
behavior looks like. Does anyone know a way I can force IDL to
flush it's buffers so the data gets written to disk? If it makes a
difference this is on both SunOS 4.1.3 and Solaris 2.3. Thanks.


--

Elliotte Rusty Harold National Solar Observatory
eharold@sunspot.noao.edu Sunspot NM 88349
[Message index]
 
Read Message
Previous Topic: undocumented IDL built-in TVRDC
Next Topic: How to I get IDL postscript files from Sun to Mac?

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

Current Time: Fri Oct 10 09:51:55 PDT 2025

Total time taken to generate the page: 1.84291 seconds