Sadaf Shaikh
hello!
my experiment is very simple. I want to give multiple choice questions in opensesame. there are two loops. the first loop is just the distractions loop. but the second loop is the test trial loop for which I want to measure the time taken for anwering the test and accuracy. the experiment which i have created is running perfectly fine but it is not logging anything. i dont know how to define variables in the loop. please help... it's urgent.
Comments
Hi Sadaf,
Did you already have a logger item in your sequence? And I'm assuming you're using a form? The response should be logged in a variable with the name that you entered in the response variable box. To log the time, you could place an inline_script right before the form and in the run-phase insert
start_time = self.time().Right after the form, you place another inline_script where you insert in the run-phase
exp.response_time = self.time() - start_time. This should get you a response time in your log file.Cheers
Josh
first of all thank you so much for replying, Josh.
no, i did not use form. i just added multiple-choice question .
if I use a form, where exactly do I have to put that?
can you please help me with the codings of the form..
one questions with 4 options.. I dont know python or html or any other programming language.