[open] Prevent a picture to be shown twice
Dear community,
it's me again. Hope that I'm not spaming with all my questions ;-)
I have a follow up question to my microexpression experiment. The experiment exists of 7 loops and every loop is called 7 times (see picture below for more details). In every loop there's a random picture shown (the variable 'emotion').
Here's my question: how can I prevent that one picture is shown two or more times? I need to get sure that every picture is shown only one time.
Best wishes
Daniel


Comments
Hi Daniël,
Is it possible for you to provide us with the code of your experiment?
I think I understand the question, but just to be sure I think it would help if I could see the experiment myself.
Best,
Lotje
Did you like my answer? Feel free to

Hi Lotje,
here's the link to my experiment. Thanks for your help :-)
Daniel
Hi Daniël,
Thanks for the link.
If I understand correctly, you don't want stimuli from within a given loop (e.g. 'fearful_loop') to be repeated, right?
One way to achieve this is as follows:
Firstly, append an inline_script item to the beginning of all your 'sub' sequences:
Secondly, put the following code in the inline_script item (see comments for more information):
Note that this quick way to achieve your goal involves changing the internals of OpenSesame, since we're manually adapting the content of the in-the-GUI-defined loop items.
For another thread on this issue, see:
There are other, more transparent ways to prevent stimuli from being presented twice as well, but those involve more inline_script items and would require a bigger change in the outline of your experiment. That's why I'd suggest the above, somewhat complex method first (but I'm happy to explain the other one as well, if you want).
An example experiment can be found here:
Best wishes,
Lotje
Did you like my answer? Feel free to
