Howdy, Stranger!

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

Supported by

[open] Stop Signal Task


I'm currently making a stop signal task using open sesame. Currently my stop signal, an image is displayed on all trials, but I only need it displaying on 25% of trials. How can this be done? I assume I need an inline script, but what code should I use?




  • Hi Sam,

    If you look under Menu → Tools → Example experiments, you will see that there's a Stop Signal Task for your inspiration :wink:


    Thanked by 1S_Burton

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

  • Hi Sebastiaan,

    thanks for that, figured out how it's done now.

    I loaded the experiment onto a phone (Moto G/android) and tried to open my experiment with the opensesame app. In the files it came out with an exception message of "'module' object has no attribute 'QByteArray'" any idea how to fix this? Or what part of the task could be the issue?



  • This is from the debug window:

    Launching opensesame_resources/android/menu.osexp
    openexp.sampler._legacy.init_sound(): sampling freq = 48000, buffer size = 1024 experiment started at Mon Sep 3 14:06:27 2018 disabling garbage collection
    opened /sdcard/opensesame-settings.txt for reading
    experiment_folder = /sdcard/
    logfile_folder = /sdcard/
    opened /sdcard/opensesame-settings.txt for writing experiment finished at Mon Sep 3 14:06:34 2018
    experiment.end(): enabling garbage collection
    Traceback (most recent call last):
    File "opensesame/", line 111, in main
    File "opensesame/libopensesame/", line 138, in init
    File "opensesame/libopensesame/", line 64, in init
    File "opensesame/libopensesame/", line 343, in from_string
    File "opensesame/libopensesame/", line 164, in new
    Failed to load plugin 'coroutines'

    exception type: AttributeError
    exception message: 'module' object has no attribute 'QByteArray'
    time: Mon Sep 3 14:06:35 2018

    File "opensesame/libopensesame/", line 161, in new
    File "opensesame/libopensesame/", line 361, in load_plugin
    File "opensesame/libopensesame/", line 338, in import_plugin
    File "opensesame/opensesame_plugins/coroutines/", line 21, in
    File "opensesame/opensesame_plugins/coroutines/oscoroutines/", line 23, in
    File "opensesame/opensesame_plugins/coroutines/oscoroutines/", line 21, in
    File "opensesame/libqtopensesame/widgets/", line 22, in
    File "opensesame/libqtopensesame/misc/", line 42, in
    AttributeError: 'module' object has no attribute 'QByteArray'

    Launching /sdcard/SST V1.osexp

    edited March 4


    I have the same issue with my Xp on android. Did you find a solution?

    # AttributeError: 'module' object has no attribute 'QByteArray' #

    coroutines seems not working with droid backend.

  • hey,

    no couldn't find one in the end.

    If you're willing to test on iphones, you can use Inquisit player to create the task. Which is currently what I'm doing and have participants use their own phones.

Sign In or Register to comment.