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

Home » Public Forums » archive » Re: wait loop
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: wait loop [message #26655 is a reply to message #26651] Thu, 20 September 2001 04:41 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dominik Paul wrote:
>
> hi there,
>
> we would like to check a directory, if there is a file every 10 oder 20
> minutes in an IDL programm For this we would like to use a waitung funktion,
> in a loop, which doesnt cost to much processor time.
>
> Does somebody know a waiting function for this problem, because I coulnd
> find anything suitable in the IDL help files.
>
> Thanks
>
> Dom


Dear Dom,

are you looking for something like:


FUNCTION wait_until_daytime,day_time

ask_time = string2js(day_time)
time_now = string2js(/now)

IF ask_time lt time_now THEN return,0

WHILE time_now LT ask_time DO time_now = string2js(/now)

RETURN,1
END


result=wait_until_daytime('2001-09-20 13:35:00 000')

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/string2js.tar.gz


regards
Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Way to determine big/little endian?
Next Topic: Re: Free-hand ROIs using DRAW_WIDGET

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

Current Time: Sun Oct 12 03:37:07 PDT 2025

Total time taken to generate the page: 0.95975 seconds