Restarting or resetting a trial if participants fail to respond within predetermined time limit
Hi all,
I am trying to create a task which users need to respond within 2 seconds. If not, the trial should start over before moving to the next trial. I already made a working task and is currently figuring out the "restarting" part.
Hansol
(Update)
Well, this is awkward, but I was able to quickly implement what I wanted to do by following Lotje's suggestion here: http://www.cogsci.nl/forum/discussion/2848/restarting-a-loop
Specifically, I added this line "items.execute(u'trial')" in an inline script ("trig_noresp" object below) which is executed only in trials participants failed to respond. However, I have another problem now, and it seems that there is a little bit of delay between trials when this code is executed. It gets longer as no response is made in two or more trials. Is this because I did something wrong in placing the code in the right place?
Comments
Hi Hansol,
it is a little unclear where exactly you handle the replay. Could you point us to it? You can also upload your experiment if you wish. Without seeing more detailed code it is hard to give you advice on how to fix it.
ps. from looking at the code, I would expect trig_noresp to be run on every trial, and therefore trial to be repeated over and over again. But maybe I am not getting it entirely...
Eduard