Howdy, Stranger!

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

Supported by

Repeat a row until correct response

Hi! We have a simple problem. We are creating a change blindness experiment and for this,
we are using the flicker paradigm. We want to show the same photos until the correct response but we couldn't make it. İs there a solution to repeat the same row in a loop until the response. We also don't know python, can somebody help us? We have a deadline, because of this, we need a hurry answer! Thanks in advance!


Comments

  • Hello again,
    http://www.cogsci.nl/forum/index.php?p=/discussion/535/solved-how-to-repeat-a-particular-trial-until-correct-before-moving-on-to-next-trial/p1
    That solution is working. Sorry, we didn't see that before open this discussion. Know, we need to get a limit on the trials. Can anyone help? Thanks!

  • Hi,

    What do you mean with 'limit on the trials'? Could you elaborate?

    Eduard

    Buy Me A Coffee

  • Hi Eduard,
    We want to show a pair of pictures for 3 times in max. If participant gives a response, trial should move on to next pair. If participant doesn't give a response in 3 times, it should move on too. We tried to use run if function for inline script by limiting response time but in that way inline script didn't work again in the next pair. I suppose we need a restart function but we couldn't find it.
  • Hi,

    You will need to introduce a counter variable. Every time you rerun the trial sequence, you have to increment it. As soon as the counter has the value you want (e.g. 3), you don't rerun the trial sequence any more. WIll you manage to implement it? I don't know how you implemented it, but if you used the code in the link, it could look like this:

    # in the beginning of the block, you will have to initialize the variable "counter", like so:
    # counter = 0
    
    # If participant gave an incorrect response:
    if self.get('correct') == 0 and counter <3:
        # Prepare the whole trial sequence (here called
        # 'trial_sequence') again:
        exp.items['trial_sequence'].prepare()
        # And run it again:
        exp.items['trial_sequence'].run()
        # increment the counter
        counter+=1
    

    Hope this helps,

    Eduard

    Buy Me A Coffee

  • Hi Eduard,
    Problem has fixed!

    Thank you so much!
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