I’ve been trying to tackle this problem for a while and I don’t know what else to do.
In my experiment, participants make several choices. On each trial, they see an image for one second. After one second, the image disappears and two text options appear (one on each side of the screen). I have all of the images (and associated text options for each image) saved in a single excel file: the first column is the file path to the image, the second column is the text for the left side of the screen, and the third column is the text for the right side of the screen.
The image presentation works perfectly, so the excel file is definitely accessible. However, the text stimuli do not work; rather than presenting my actual stimuli (e.g. “Buy food for $2.00”), they say “Hello World”. Using console.log()
, I’ve been able to narrow the issue to the fact that the text columns in my excel file are not being read in correctly. They are listed as “undefined” in the console. I’ve tried using .setText
and .text
to define the string for each trial; both yield the same “Hello World.”
Has anyone had a similar issue? Is there something weird about the formatting in excel conditions files?