Howdy, Stranger!

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

Supported by

OSWeb Loop/Block Convertion not working properly.

Hi all,


I've made a project in OpenSesame, and it works great running locally. However, when I convert to OSWeb it does not work properly.


I have a big loop that will show 100 images in total. After every 20 trials the code will break to show a resting screen, then, it reenters the loop with a different type of image. So, basically, I have 5 blocks of 20 trials and each block is a different type of stimulus.

Running locally it works brilliantly. However, when running online only the first block is shown and the rest is only resting screens...


To clarify a little bit more, running the experiment I'm receiving something like:

------------------

Description of Block1

   Trial 1

   Trial 2

   .

   .

   .

   Trial 20

Description of Block 2

Description of Block 3

Description of Block 4

Description of Block 5

End Screen

------------------

A Fixation Cross is showed before every trial.

I'm suspicious that the online version is not recognizing my break if statement, but....

My break if statement is: ([count_FixationCross]+1)%20 == 0 and [count_FixationCross] > 0


ps: I'm trying to upload the code for you, but I'm receiving the message "Request Failed with status code 413"


Cheers!

Victor

Comments

  • Main Loop contains a list of 5 blocks (N, W, T, A)

    And Block_loop contains 100 images

  • Hi @VictorVarela


    Break-if statements should work in (the latest versions of) OSWeb. Could you share your experiment by another medium, such as pastebin, so that we can have a closer look?

    To paste the experimental code, you can click the very first item in the overview area (with the OpenSesame item), click General script and copy the code.


    (Or you could try the upload function a couple of more times, perhaps it will work now.)


    Cheers,


    Lotje

    Buy Me A Coffee

  • Okay I guess this is what you asked for



    Thanks @lvanderlinden, as always :)

  • Hi @VictorVarela ,


    Unfortunately, the "resume-after" option is not supported in OSWeb yet. (So there's no problem with your break-if statement itself.)


    Is it absolutely necessary for your experiment to have the breaks? And for the trials to be completely random? (If not, you could create 5 blocks of 20 trials, of course).

    If the breaks and the random pulling are indeed necessary, I guess we should implement it in JavaScript. I can look into it, but I'm not particularly good with JS myself... ;)


    Cheers,


    Lotje

    Buy Me A Coffee

  • Dammit!!

    Well, at least now we know where the problem is... I will make it sequential if it is not yet implemented :(


    Thanks a lot @lvanderlinden

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