psychopy.org | Reference | Downloads | Github

Has anyone experienced Loop Skipping?

Hi all,

My experiment is acting strange. It is a very simple experiment. Play a one second video, then ask for a yes or no response. After the introduction screen, instead of the video starting, my loop is starting with the response and then playing the video.

Currently running OS 10.11.5
PsychoPy version 1.84.2
Currently using the Standard Standalone
What are you trying to achieve?:
Ideally play the one second video, collect a response, and continue until the loop goes through all conditions.

What did you try to make it work?:

I tried reversing the direction of the loop, and I tried changing the order to response then video (just to see if it works)

What specifically went wrong when you tried that?:
It still began with the response and then the video.

I then tried turning everything off and then back on, and then switching the order to what it should be (video then response).

This is done completely in the builder and I did not write any custom code this time.

Thanks in advance!
Laur

Hi Laur,

To help figure out what is happening, on each of your routines, put a text stimulus and put this in its text field:

$str(name_of_your_loop.thisN)

i.e. this should display on each routine what the current trial number is. Ideally it should increment for each video routine but stay the same for each response routine.