PsychoPy version: 1.84.4
Standard Standalone? (y/n) : y
What are you trying to achieve?:
I noticed that my experiment was no longer saving data in .csv or .xlsx format, but only in .psydat and .log format. I’m trying to make PsychoPy save things in .csv and .xlsx again.
What did you try to make it work?:
I’m new to PsychoPy. I tried going back to the basic Stroop task (Build your first PsychoPy experiment (Stroop task) - YouTube), something that’s saved data as csv. in the past for me, and even then, csv. and xlsx. files were no longer being saved, although I haven’t touched the code for that; I’d only made that in builder view. I thought it might be an issue with the program instead, so I tried reinstalling PsychoPy standalone, and it didn’t work.
I checked my data settings under experiment settings (http://www.psychopy.org/builder/settings.html), and they appear as in the screenshot below.
What specifically went wrong when you tried that?:
There was no error message. Things just aren’t saving…
I went to coder view to see what the code looks like for saving data. I think this is the relevant part, but I’m not sure if anything is wrong with it.
save data for this loop
trials.saveAsExcel(filename + ‘.xlsx’, sheetName=‘trials’,
trials.saveAsText(filename + ‘trials.csv’, delim=’,’,
these shouldn’t be strictly necessary (should auto-save)
make sure everything is closed down
thisExp.abort() # or data files will save again on exit