Random stimuli selection with no repitition of stimuli

Hello all,

I am currently trying to have both image trials and video trials be selected at random, which I have achieved, but the stimuli is selected again in the next loop. I do not want them to repeat. I have seen other posts about this but the solutions don’t seem to fit (or I havent understood them properly).

I would like the stimuli in a particular order. So I would like 3 images to display, followed by ONE video. This routine loops 9 times. I am not concerned about the image trials repeating, but I want the video selected only once. Currently, Psychopy is displaying a video and then showing the same video again during another loop.

I have attached some screenshots if they help.

If I’m not clear please ask and I’d be happy to explain further.

43

26