Keeping a loop open
in OpenSesame
Heya, I am attaching an experiment I am wordking on, where I have had a small problem.
The base loop takes a specific stimulus from either list and runs it through the experiment but I need to make sure that no word repeats twice (unless all words have appeared first) , I understand that after each run of the experiment sequence (new sequence) the loop closes and it opens again with no memory of what word was chosen befroe. Any way around this?
Comments
Hi @Jordan,
Not entirely sure I follow your description. When you're referring to "words", are you referring to what appears under the "Stim_word" variable or under "Stimulus"? I'm gonna assume that you meant the second and that you want to make sure that every Stimulus is presented equally often.
You could achieve that writing code, preparing all the combinations in a matrix and then populate trials on the fly, but in your case, if I understand what you're trying to achieve correctly, there's a simpler solution. You seem to have a 2 (math/neutral) x 2 (blue/green) x stimulus design (=16 trials). Why not simply implement the stimulus directly in the Baseloop? If you do so, the task wonh't have to pick randomly the word to present, and so you won't need to work out a way of ensuring that each word is used equally often.
Best,
Fabrice.