Restarting or resetting a trial if participants fail to respond within predetermined time limit
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.
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?