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

Home » Public Forums » archive » Re: check for already written and finished 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
Re: check for already written and finished files [message #56537 is a reply to message #56533] Tue, 30 October 2007 02:06 Go to previous messageGo to previous message
Tal is currently offline  Tal
Messages: 26
Registered: August 2007
Junior Member
> I want to force IDL to wait until the file is fully written. However I did not find a
> way how to do this.


Try the following:

Since the header file is written only after the data was written to
disk, you could simply run a file_search for a header file (*.hdr)
with the same name as that of the data file (use file_basename for
that) and continue only after you verified its existence.

That should work.
Tal
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and IDL-PVWAVE disambiguation
Next Topic: IDL - ENVI - Mouse move on Image

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

Current Time: Sun Oct 12 00:52:52 PDT 2025

Total time taken to generate the page: 0.96369 seconds