Howdy, Stranger!

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

Supported by

randomization loop

Hi @sebastiaan ,

Thank you for your previous answers.

In my experimental design, I have 5 picture sets which include 8 pictures. These 5 sets should come random but the 8 pictures should come sequential. I am trying to do this by adding loops one after another. The place where the 8 pictures will be presented on the screen is important so I need to take into account this.

Adding loops one after another is not a good solution.

I am adding 5 " new sequences" which include the 8 pictures. By this way the problem of where to present the pictures is solved, but picture sets randomization problem not solved.

How can ı solve this problem?


  • Hi Psychlg,

    The attached experiment should give you a starting point to customize your experiment. The setup is straightforward you have two nested loop/sequences. In the outer loop you randomly select the set, in the inner loop you chose the images sequentially. Note, In my example I have used text responses not image response, because I don't have stimuli, but you can apply the same principle to show images.

    I think I already mentioned it to you, but again, please do our tutorials. The experiment you describe here, has almost the identical structure as the tutorial experiment.

    Good luck,


    Buy Me A Coffee

  • Hi @eduard

    I think I did not explain the paradigm very well. The 8 pictures ,which in picture sets, have different x and y coordinates. Thus, I add 8 new sketchpad because I should add each picture in different place each other. But, in this situation each picture set is shown 8 times.

    Thank you for your interest.

  • HI @psychlg,

    If you present 8 images in a loop using different coordinates, use one sketchpad and insert the coordinates as a variable in your loop. Otherwise, what you're doing is basically programming every trial individually. It is a lot more efficient to use loops.

    Good luck!


    Buy Me A Coffee

  • hi @psychlg

    Really, you should do the tutorial. Step 6 describes exactly how you define x and y coordinates as variables (the part about draw the gaze cue).


    Buy Me A Coffee

  • edited May 2022

    Hi @sebastiaan @eduard I succeed it with your help. Thank you for this.

    My experiment design is below;










    Now, I have randomization problem again. The loops (loop1, loop2, loop3...) do not show randomly. I select "random" trip and I write the loop names in the table in "main_loop". But, I cannot randomization. Can you help with this problem?

  • Hi @psychlg,

    The problem depends on how you implemented this structure exactly. Your main loop should contain a variable that can be used to selective run one of the sub-loop selectively (using the "Run if" property of the objects listed under the main_sequence.

    For example, if your main_loop contains 3 rows and a column named "blockid", and you have "b1", "b2", and "b3" as that variable's value for the three rows, you'd then have to set the "Run if" property of your loop1, loop2 and loop3 set to "[blockid]='b1'", "[blockid]='b2'", and "[blockid]='b3'", respectively.

    Good luck!


    Buy Me A Coffee

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