Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Random blocks

Hi everyone,
I'm a beginner in OpenSesame and I have encountered a problem.
Let's say I have 32 trial types. Across the experiment I want each trial type to repeat 10 times - a total of 320 trials.
I want these trials to be randomly divided into 10 blocks. And, of course, I want to log the block number.
What is the best way to do that?
Thanks,
Anna.

Comments

  • Also, how can I use the "break if" in order to exit the loop for an inter-block break, and then return to the list and continue sampling?

  • Hi Anna,

    Probably the easiest solution would not be to exit the block, but just to wait in the middle of it, until the break is over. So, for example, you can add a sketchpad in the beginning of the loop that informs participants that they have a break (and that only disappears once you press a certain key). Importantly, you need to specify in the run_if statement that this item is only executed every 32th trial. This can be accomplished with the modulo, e.g. [block_no%32 == 31]..

    Does this make sense?

    Eduard

    Buy Me A Coffee

Sign In or Register to comment.