OS (e.g. Win10): MacOS Mojave 10.14.6
PsychoPy version (e.g. 1.84.x): v3.1.2
Standard Standalone? (y/n) If not then what?: no idea what this means
What are you trying to achieve?:
I have two video clips I need to show and I want the order (so basically which one is shown first) to be random, while still showing both only once. I feel like this is a stupid question but I’ve been trying to find demos online, youtube tutorials, and other resources to find how to do this but I’ve been unsuccessful…
What did you try to make it work?:
I’ve tried nesting randomized loops around both routines while each routine has its own separate loop, only having a loop around both routines (no nesting), using 1 for nResp for loops, using excel sheet variables (ex. $boring_stim) for nResp, etc.
I’ve also tried switching between making the loops random and fullrandom.
I’ve messed around with my excel sheet and it went from looking like this:
to just this (since I think I only technically need one variable randomized since I only have two):
I read somewhere that using 1 in excel runs that portion while using 0 skips it. And since both have to be played once, if the first video happens to be skipped then the 2nd one will play first and then the 1st…or so I thought.
What specifically went wrong when you tried that?:
Each time I tried something new to make it work, it’d usually still run…just not correctly. It either doesn’t run randomly (acts like it’s running sequentially) or for some reason will play randomly but plays each video segment twice instead of once.
Or when I tried playing around with using a variable in nResp it would sometimes say that I didn’t define the variable if I did that it one/two loops but not another.
Here’s a screenshot of the loop I need randomized: