Something is wrong with trials Properties's Conditions

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 2024.2.4 Py 3.8): 2024.2.4 Py 3.8

What are you trying to achieve?:
Assign a value to session in “Setting - Experiment info”, and freely switch between different session.csv files in the trials.

What did you try to make it work?:
I created two CSV files named “session1” and “session2”. I assigned a value to “session” in “Setting - Experiment info” and added a loop named “trials”. In the “Properties” of the “trials” loop, I entered $f'D:/reysy/Experiment/task/{session}.csv'(`$f’../task/{session}.csv) .

What specifically went wrong when you tried that?:
No parameters set(conditionsFile not found).And couldn’t found any “trials things”

Try $expInfo['session'] + ".csv"

OK!Got it!