Multiple correct responses
Hi
Is it possible to use multiple values as correct responses for each cycle? I am building an experiment with touch screen but I could not find a way to do that.
Thanks.
Hi
Is it possible to use multiple values as correct responses for each cycle? I am building an experiment with touch screen but I could not find a way to do that.
Thanks.
Comments
Hi,
You'll want to take a look at this discussion:
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you Sebastiaan for your reply.
In my case I need to collect the touch screen response rather than keyboard response right ? but I alrealy do not have any experience with that, could you tell please how to get this data?
Thanks
Hi,
The
touch_responseitem does quite a few things, so re-implementing it completely in aninline_scriptis inconvenient. However, what you can do is change the correct value of the last-recorded response. The following script, which should be in the Run phase of aninline_scriptthat immediately follows thetouch_response, does that. (Note: This is a hack that directly accesses the internals of OpenSesame. But it does work.)You can also define your correct responses in the
looptable, in which case you would do something like:Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you for your reply. I tried your suggested solutions but it is not working with my experiment, I checked the log file many variables such as correct, correct_new_touch_response and correct_response are "undefined". Do you know why?
I am using OpenSesame 3.1.9 in Windows 10
Thanks
Hi,
Could you upload your experiment? Then I'll have a quick look at can check what is going on there.
Thanks,
Eduard
Thanks eduard for your reply. I have attached my experiment.
Hi,
To get a working
var.correctvariable. You have to change the line:correct_response = 2,3tocorrect_response = [2,3]and add the line
var.correct = last_response.correctat the end of the inline_script.Hope this helps,
Eduard
Many thanks eduard, it is working fine now.
I have a small issue, I could not find user's responses for each cycle. It was recorded under correct_new_touch_response column but now it shows "undefined" value. Do you know how can I fix that?
Thanks
Hi,
Does the variable
responsehave the information yo need? I bet the data is somewhere, just look through your file and see whether you can find it.Eduard
Thanks eduard.