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 #26651 is a reply to message #26650] Thu, 20 September 2001 04:41 Go to previous messageGo to previous message
Dominik[1] is currently offline  Dominik[1]
Messages: 46
Registered: April 2001
Member
I think, this kind of loop needs to much processor power. We would like to
have somethink you nearly dont notice, that there is a IDL task running in
the back.

Dom
"Reimar Bauer" <r.bauer@fz-juelich.de> schrieb im Newsbeitrag
news:3BA9D5EC.504C0EB3@fz-juelich.de...
> 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/downl
oad/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: Thu Oct 09 22:53:26 PDT 2025

Total time taken to generate the page: 1.03997 seconds