Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

keyboard_response

edited April 2020 in OSWeb

Hello,

I would like to run online a short version of my previous experiment described in Scarpina et al. (Frontiers in Psychology 2018,  9, 494). In simple words, participants have to press the spacebar when they see the target. The program collects “response__keyboard_response” (i.e. None or Space) and the “response_time__keyboard_response”.  

To import my experiment on Jatos, I followed the instructions presented very clearly by Sebastian in his tutorial (https://osdoc.cogsci.nl/3.2/manual/osweb/).

So, when the experiment runs on Opensesame on pc, everything works and I am able to find my data.

However, when I look the data from Jatos, it seems that the script is not able to collect the response__keyboard_response; thus, I have no information about 1. If the subject presses the spacebar, and 2. when in terms of Reaction Times.

Do you know if there is any problem with keyboard_response when the experiment runs on Jatos?

Thank you,

Federica 

Comments

  • Hi Frederica,

    OSWeb (this is not related to JATOS, which is the server) indeed doesn't register response variables with the name of the item suffixed. That is, the response will saved as response but not as response_[item name], as it would on the desktop.

    If there's only a single item that collects a response, that's no problem, and you can simply use the response variable instead.

    If there are multiple response items, this does pose a problem, because the second response item will overwrite the response variable of the first. In that case, you can add a short inline_javascript item after the response item with the following code in the Run phase:

    vars.response_keyboard_response = vars.response
    

    Cheers!

    Sebastiaan

Sign In or Register to comment.