Loop for Randomizing Trials

Hi everybody!

I’m new to PsychoPy, and I have a quick question. I have a number of trials in an experiment - “Pair_1”, “Pair_2”, “Pair_3”, and so on. Would it be possible to create a loop that runs through each of the trials in random order? Many, many thanks!

If I understand you correctly, this is what PsychoPy does by default if you create a loop pointing to a spreadsheet.

https://docs.google.com/presentation/d/e/2PACX-1vT76DDSE_Kf0ZsGj98rsIk5AKRg12NICDHtW46bAH_-BJ_ZFzdnJ_81nqZ-AH2a2UH1JXplQfkPXFSk/pub?start=false&loop=false&delayms=10000&slide=id.g4445c1126d_0_101

Hi there!

Yes, this makes sense. I now have a spreadsheet with the file paths of the videos in two columns. I was just wondering how we could import the videos into the experiment file so that they are ready to be displayed. Many thanks!