Welcome!

Sign in with your CogSci, Facebook, Google, or Twitter account.

Or register to create a new account.

We'll use your information only for signing in to this forum.

Supported by

self.sleep() in psycho back-end

sebastiaansebastiaan Posts: 2,812
edited February 2012 in OpenSesame

Description of the problem

It has come to my attention that on some systems the self.sleep() function does not work properly. It does not sleep at all, or for less time than specified.

  • This occurs only when the psycho back-end is selected.
  • This issue affects only a small number of systems. On those systems, it occurs consistently.

Identification and workaround

I'm not sure what causes the problem, but it is both easy to identify and easy to workaround.

  • To see if your system is affected, please run the psycho timing check experiment from http://osdoc.cogsci.nl/miscellaneous/timing. If a high standard deviation is reported, your system is affected.
  • To work around the issue, simply use time.sleep() from the Python time module or psychopy.core.wait() instead of self.sleep().

I'm sorry for any inconvenience that this may have caused. This issue has been resolved and is available in recent snapshot of the soon-to-be-released OpenSesame 0.26.

There's much bigger issues in the world, I know. But I first have to take care of the world I know.
cogsci.nl/smathot

Sign In or Register to comment.