| Reference | Downloads | Github

Routine within sequential loop appearing in random places

OS : Win10
PsychoPy version : v3.2.4
**Standard Standalone? ** : yes
What are you trying to achieve?:
I’m building my first experiment. It’s a self-paced reading study, measuring keypress response times after reading sentence chunks at the participant’s own pace. I want some of the trials (a specific selection) to be followed by a specific yes/no question. The question depends on the trial. I saw other posts about this but I didn’t get the specific solution. My problem is that the “question” routines, which are within a sequential loop, appear at random places like at the very beginning of the experiment, outside its loop, and are always repeated between each trial, while I only placed them after two trials at the moment.

What did you try to make it work?:
So far, I have a flow that looks like this (picture below)

There is no specific loop around the “question” routines. I also tried having a loop there but it didn’t change anything. I would just like question2 to appear after trial2, question5 after trial5 etc, which is what I think I did and what the flow suggests.

Any ideas what I did wrong ? Don’t sequential loops create boundaries within which everything forms a group that should not be mixed or separated ?
Many thanks.

Please explain your design to us and how this is reflected in the screenshot. For example, it is not clear why you have multiple nested loops.

EDIT: from this post below, it seems that you have larger issues. Would suggest that you just delete this topic and focus on the suggestions you get in the other one: