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

Hey,

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?

thanks

Sam

Comments

  • Hi Sam,

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

    Cheers,
    Sebastiaan

    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.
    cogsci.nl/smathot

  • 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?

    Thanks

    Sam

  • This is from the debug window:

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

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

    Traceback:
    File "opensesame/libopensesame/item_store.py", line 161, in new
    File "opensesame/libopensesame/plugins.py", line 361, in load_plugin
    File "opensesame/libopensesame/plugins.py", line 338, in import_plugin
    File "opensesame/opensesame_plugins/coroutines/coroutines.py", line 21, in
    File "opensesame/opensesame_plugins/coroutines/oscoroutines/init.py", line 23, in
    File "opensesame/opensesame_plugins/coroutines/oscoroutines/_tree_overview_adapter.py", line 21, in
    File "opensesame/libqtopensesame/widgets/tree_overview.py", line 22, in
    File "opensesame/libqtopensesame/misc/config.py", line 42, in
    AttributeError: 'module' object has no attribute 'QByteArray'

    Launching /sdcard/SST V1.osexp

Sign In or Register to comment.