psychopy.org | Reference | Downloads | Github

Data output modification

#1

I have a problem with the data output, I have defined some new variable like a total score and some other variable, but it doesn’t appear in the data file. what should I do?

#2

Please edit to provide a full description of your problem (sorry, you might have had your initial post interrupted by the system’s spam protection: that shouldn’t happen to you again).

#3

thank you, I have edited my question.
I appreciate any help

#4

You must explicitly save any custom-created variables in the datafile, like this:

thisExp.addData('some_name_for_datafile_column', your_variable_name)
thisExp.addData('some_other_column_name', another_variable_name)