Howdy, Stranger!

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

Supported by

[solved] Set timeout as correct answer on a Go/Nogo-task

edited March 2014 in OpenSesame

Hi everybody,

I have an issue with the outcome of my paradigm. Maybe someone can help me solving this problem I'm currenty working on a go/nogo-task. Therefore experimentees have to react on certain stimulus by pressing the space key. The reaction to another stimulus shall be repressed, which means that "timeout" would be the correct answer.

The paradigm works out quite well, the problem I have is that for some reason correct and aware timeouts are not counted as a correct answer. Does anybody know how to fix this problem? It seems as if opensesame isn't accepting timeouts as correct answers.

Thank you!

Comments

  • edited March 2014

    First of all: Thank you for your great work! I'm just starting with OpenSesame, but find it really intuituve and manageable! ;)

    I have the same issue (currently working on a Go/No-Go Association Test). The correct_* variables are empty (?) or 0, for trials where timeout would be correct.

    btw: it works with enabled auto response

    timo

  • edited 6:30PM

    Hi guys,

    I have a faint recollection of answering the exact same question sometime earlier, but I can't find the thread anymore. Anyway, what you could do is add a little bit of inline scripting. Let's assume you have a variable defined in your loop (let's call it go), and this variable is 1 on a Go trial and 0 on a NoGo trial. Place the following bit of code in an inline_script item, directly following the keyboard_response item in which you collect a response:

    if self.get("go") == 1 and self.get("response") != "None":
        exp.set("correct", 1)
    elif self.get("go") == 0 and self.get("response") == "None":
        exp.set("correct", 1)
    else:
        exp.set("correct", 0)
    

    Make sure to leave the "correct response" field of the keyboard_response item empty.

    Good luck!

    Edwin

  • edited 6:30PM

    Hi Edwin,

    that worked out perfectly! Thank you so much. Your work is great!

  • edited 6:30PM

    Thank you Edwin!
    The script worked out fine.

  • edited 6:30PM

    Hi,
    I am a beginner and I really need a more explicit advice.
    I inserted a in-line script, copied and pasted this lines of code (pepare, run or both?). What should I mention in the case "Run if" on the item feedback?
    best,
    Xavier

  • edited 6:30PM

    I am now realizing that you did not include a feedback, which is my case. Thus, what I want is a feedback indicated both misses (partipicants failed to press the key when they had to) and false alarms (they erroneously pressed the key).
    Any idea how to do this?
    x

  • edited 6:30PM

    I found the response: "timeout" should be coded "None". Now, everything is fine.
    Very lovely program by the way
    x

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 http://45.77.173.118/ 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