Howdy, Stranger!

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

Supported by

'Response' and 'Correct' in log file


I am creating a continuous performance task with Open Sesame, but it seems that the responses are not being registered correctly. During the task the participants will see or hear the numbers 1 or 2 and they have to press the left mouse button when they see or hear the number 1 and do nothing when they see or hear the number 2. I used coroutines so that the participants can see or hear the stimulus for a certain amount of time and they can click as soon as they see or hear the stimulus. The experiment seems to be working as I want, but when I open the log file I see that it is not registering my responses as it should. For the first trial of each block the 'correct' is always undefined and in the 'response' column it always says I clicked the button even though I didn't. For all the other trials it seems to record my answer from the previous trial. In the picture below you can see the 'response column' and it says I didn't click the button for trials 2 and 3 when I actually clicked for trials 3 and 4 (and not for trials 1 and 2). I cannot find what exactly causes this problem. Did I do something wrong?

(I have included the experiment to make it more clear what exactly the task is)

Thank you!


  • Hi @DVdB ,

    The experiment is quite complex so it's difficult to see in one glance how everything works. But one thing that is certainly related to these issues is that you've inserted the logger item into the coroutines with a start time of 0. This means that logging will happen before the response has been collected, in turn resulting the logger always reflecting the previous trial. Do you see what I mean?

    To solve this, simply carry the logger out of the coroutines so that it is executed at the end of each trial.

    More generally, your experiment contains lots of duplicate items, which makes it big and hard to debug. I would take a moment to think about how to simplify the structure!

    Hope this helps!

    — Sebastiaan

  • Hi Sebastiaan

    Thank you for the response! I tried to carry the logger out of the coroutines, but than it only logs the last trial of the loop. I also simplified the structure, but I still don't know what's wrong with the logger (if the problem is the logger). Because it seems that it even does not register my mouse-responses correctly. Is there something else I can try to fix my problem?

    Thank you!

  • Hi @DVdB,

    Adding to what @sebastiaan recommended, you should move the logger out of the co-coutinres object but withing the same sequence as that the co-routine object is part of (otherwise, it odes indeed only log the last trial because your logger is actually only executed after the loop finishes). I noticed that you're not defining the events in a trial within a sequence. You should use one, and then place the co-routines and the logger on the same level within that sequence:

    I tried it out on a stripped down version of your task:

    As far as I can tell, it registers responses to all trials.

    Hope this helps,


    Buy Me A Coffee

  • Thank you, it's working!

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games