If this template helps then use it. If not then just delete and start from scratch.
OSX El Capitain
PsychoPy version 1.84
standalone
I am trying to have psychopy store values 1-4 via a button press in response to a question they see. However I am not sure why when I look at the data after running the experiment there is not timestamp or values (i.e. 1, 2, 3, 4)? I have both store rating time and store rating checked in the options. Any ideas? thanks
I should also note there are no right answers, the scale is just there to see how much they agree with a question on a scale of 1-4.
The answer will probably depend on how you are collecting responses and how you are writing it to the xlsx/csv file? The problem might be that only the first value in the response is written to file.
Something like this has worked for me in previous versions of PsychoPy: You get a key-response using event.getKeys giving arguments “keyList” and “timeStamped”. E.g (ansKeys and trialClock have been defined in advance):
The variable “response” will then contain both the response and the time stamp in separate fields. The values in “response” are passed to separate fields in my “trial” variable that is written to csv - like this:
This seems like a separate issue, if after searching this site and the old site you don’t find any answers, it would be better to start a new question. Take care.