Howdy, Stranger!

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

Supported by

Randomisation of several loops inside a main one // Exp. gets stuck when run in the browser


I am building an online experiment in which I want to show several photos to the participants, these pictures should be randomise. The photos will be presented one by one and after each photo the subjects will be asked two questions.

The problem is that each photo (f1, f2, f3) needs its own loop (loop_f1, loop_f2 and loop_f3 in the screen shot below). This is due to inside of each loop there is a sequence (seq_f1, seq_f2, seq_f3) to control that the stimulus will be presented for at least 10s before allowing the subject to answer the questions. Moreover, inside this sequence there is another loop (question_loop_f1, question_loop_f2, question_loop_f3) that controls the randomisation of the two questions. So basically I do not know how to randomise loop_f1, loop_f2 and loop_f3.

My second problem is that, if I try to run this experiment on the external browser, it gets stuck in the first question without letting me provide any response or continue. Each question is placed on a sketchpad together with a Likert scale ranging from 1 to 9. The participants have to press the number keys to respond. This works fine when run on my computer, but does not accept any key response on the browser. It would be very helpful if someone could give me some advice!


  • I do not fully grasp your design but I feel like you are thinking to complicated. Why do you need a loop to control the 10s waiting? Is this different for each photo?

  • Hi,

    Thanks for your response. The loop you refer to is needed for the randomisation of the two questions that follow the stimulus presented for 10s. I will try to explain it in a more clear way!

    Each picture gets the same questions in a different order. I had no trouble solving that randomisation. However, my main problem now is regarding the order in which each photo is going to be presented. I have created loops (loop_f1, loop_f2, and loop_f3) for every photo where the image is presented and the questions are randomly asked. Once a loop has finished, the experiment moves to the next one for another photo. What I want to do is to randomise the order of the photos during the experiment, and I do not want to do it with subject parity. I want that randomisation individually for every subject. Is there any alternative way to do this rather than writing a code in javascript? I need it for OS Web so using Python is not an option.

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