OS : Win10
PsychoPy version (e.g. 1.84.x): 3.2.3
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: Trying to get a variable to work inside a spreadsheet
What did you try to make it work?:
From previous steps, the experiment associates a variable with a file name as a string e.g. Ast_Train1_Lau is associated with ‘tokens/Laugh/S01_NS_01.wav’. This is done for randomisation purposes. I’ve made them print so I know the association works.
The problem I’m having is that when I put the variable into the spreadsheet it doesn’t see the file name (string), it tries to find a file name with the variable e.g. Ast_Train1_Lau instead of tokens/Laugh/S01_NS_01.wav. I’ve tried this both with and without a $ in front of the spreadsheet.
What specifically went wrong when you tried that?:
Tries to find the variable as a file rather than the file name
Thanks for helping
Here is the association code and a couple previous steps in case this helps.