timeLimit in object

Yoav Bar Anan baranan at post.tau.ac.il
Tue Mar 15 15:37:41 UTC 2005


Oh. I referred to ww.RT of course.
However, I did succeed to make it work, so apparently, E-Prime know how to 
work in parallel.

Thanks,
Yoav

----- Original Message ----- 
From: "Robert Dörr" <uni at robertdoerr.de>
To: <eprime at mail.talkbank.org>
Sent: Tuesday, March 15, 2005 5:02 PM
Subject: Re: timeLimit in object


> Hi
>
> The timing cannot be accurate, because ww.RESP is checked after sleep(550) 
> has finished and _not_ while sleeping. So the maximum accurancy is 550ms 
> (or the duration of your sound file).
>
> Robert
>
>
> Yoav Bar Anan wrote:
>
>> Hi all,
>>  In my experiment I set the "Time Limit" of a waitObject to "infinite" 
>> and the "duration" to 0, and that way I can continue to the next inline 
>> script object. In this script I play sound files in a loop that waits 
>> until the waitObject.Resp is not "" (i.e until a response). However, it 
>> seems that the timing of the response is not accurate.
>> I wanted to see whether it is the sound-playing that disturbs the 
>> accurate time-recording, so I replaced it with a simple "sleep(550)" 
>> line. The timing of the response is still not accurate. When I reduce the 
>> time of the sleep (e.g. "sleep(10)") the inaccuracy shrinks.
>> Maybe I should somehow set the waitObject to accept the response in 
>> parallel to the continuation of the script. Does anyhow has an idea how?
>>  Thanks,
>> Yoav
>>  P.S.
>> for your convenience here is the script:
>> while ww.RESP = ""
>>     sleep(550)
>> wend
>>
>
>
>
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
> 



More information about the Eprime mailing list