Howdy, Stranger!

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

Supported by

Inline script in coroutine runs twice?

Hi all,

Has anyone else experienced the coroutine item running the 'Run' script twice in every loop iteration?

I have recreated this in a blank project only containing a coroutine with a single inline script. The print statement in the prep phase is getting executed once and the run phase print statement twice.

I was looking through the documentation but could not find anybody else describing this behaviour, so I suspect I have a silly mistake somewhere.


I want to send labstreaminglayer marker while presenting a stimulus. Getting two almost identically timed marker instead of one marker isn't terrible but I would still like to find out what is happening to cause this or if I am not using the coroutine item correctly.

Comments

Sign In or Register to comment.