psychopy.org | Reference | Downloads | Github

Randomly select one condition and repeat the selected condition

Hi all,
I am building an experiment that needs to randomly pick an image from my excel file and repeat the selected image.
Now, I can only randomly pick one condition, but during the repetition other images will be selected.
Is there a way to fix the problem?

You could add an inner loop with nReps of the number of repeats but no spreadsheet – or did you not mean repeating straight away.

If you want the repeats to be in a random order then you probably need to specify the selected rows in a variable prior to the loop so they don’t change on each repetition.