Howdy, Stranger!

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

Supported by

Go/No-Go Multiple Images

Hi everybody, I am new to OpenSesame and I am trying to build an Go/No-Go task for my thesis with multiple images, I used the script from an online shared task from James Barlett, but it does not adequate for what I am trying to build. I have multiple Go images and multiple No-Go images, how can I programme that? Also need to have feedback when there is error, meaning that when the participant does not answer to a Go stimuli or when it answers to a No-Go stimuli it gives the feedback adequate for the error. Can anybody help me with that? Thank you in advance!!!

Comments

  • Hi @AdrianaMartins ,


    First off, you don't have to open multiple discussions to get an answer. In fact, doing so will make searching the forum less clear for future visitors...

    But welcome to the forum and thanks for your interest in OpenSesame. :)


    Regarding giving participants feedback after every trial, something like the following should work:


    • Define the variable correct_response in the block_loop. Give this variable the variable "x" (or another keypress, depending on your design) on go trials. On no-go trials, in contrast to the example you used, I think the correct_variable should be set to "None" (instead of "timeout"), like so:


    • Next, you could append two feedback items to your trial_sequence, one for the incorrect-feedback warning, and one for the correct-feedback (if you want that one too)
    • Use the Run-if statements to determine which of the two feedback items should be run, depending on whether the variable "correct" has the value "0" or "1".


    I uploaded an example file.


    Regarding the multiple images: What are these images? Are the PNG/ BMP files? Or something that you draw on screen yourself? In any case, you will probable have to define the images in the same way as Stimulus is now defined in the block_loop, and use the square-bracket syntax to use them in your trial_sequence.



    Let us know if you have any further questions on this (but do provide us with more detailed information).


    Hope this helps!


    Good luck,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • Thank you Lotje for your help!!

    It is multiple png images, I have multiple images for go stimuli, and multiple for no-go stimuli, the ' O ' and ' X ' simbol is already edited in the image, or is it, probably, better to add on the OpenSesame?


    Thank you again for your help!!

    Kind regards,

    Adriana

  • Hi Adriana,


    To use variable images, you could do the following:

    • Add all the picture files to the file pool
    • Create a new column in the loop where you also defined the variables Letter, correct_response, etc. This column should contain the pictures that should be shown on each trial.
    • For example:
    • Next, go to the sketchpad that will be showing the stimulus.
    • Select the "Draw image element" (third black-and-white icon from the little toolbar)
    • Click at the center of the sketchpad and select one of the PNG files (doesn't matter which one)
    • Go to the script of the sketchpad and change the line drawing the image. Instead of the name of the .png file, you will use the square-bracket syntax, like so:
    draw image center=1 file="bunny.png" scale=1 show_if=always x=0 y=0 z_index=0
    

    Becomes

    draw image center=1 file="[picture_file]" scale=1 show_if=always x=0 y=0 z_index=0
    


    This procedure is explained in detail in the beginner's tutorial. It is worth to take a look at.



    The ' O ' and ' X ' symbols are already edited in the image, or is it, probably, better to add them on the OpenSesame?


    I think both methods are fine. If you already prepared the stimuli with letters on top, I would just go with these ones. :) As long as you know to which condition (go or nogo) each stimulus belongs.


    In this example, I wrote the letters on top of the images. Seeing a cat is "go", seeing a bunny is "no go".



    Cheers,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • Hi Lotje,

    Thank you so much for your help!!!

    Kind Regards,

    Adriana

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