Howdy, Stranger!

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

Supported by

Populating Loop cells from file

I have a program that populates loop-object fields from a csv file. When run "within browser" in OpenSesame, it works fine. When run through Jatos, the program hangs at the initial "loading experiment" page. Tested with an identical version in which the loop field values are hard coded within OpenSesame, and it works fine in Jatos, so there seems to be a limitation in using the file reference.

Any workaround to avoid this problem?

The goal of using the file reference is to avoid limitations on complex counterbalancing in OSWEB/JATOS. The plan was to use a different programming environment to do the counterbalancing and simply generate subject-specific lists of all the trial-level values (variable values and image files), with the appropriate loop file loaded for each subject based on subject number.

Thanks in advance,



  • Hi Andrew,

    If you could tell us what error messages, if any, you see in the console, we'll figure out where the problem is.

    But also, you can add a counterbalancing script in JATOS if you're willing to write a bit of JavaScript. We have some example studies in the JATOS docs that can serve as a good starting point.



  • Hi Andrew,

    What is the file path you are using for your file?



  • edited April 13

    Thanks for the replies. This is a bit of an odd situation, because I want to get an existing experiment up and running quickly online without having to re-do all the counterbalancing script that we originally wrote in VisualBasic/E-prime. But, yes, the next step is to just re-do that code in JS if we can't get this kludgy workaround to work.

    And, apologies in advance for trying to do this with minimal working knowledge of OpenSesame or JS.

    So, I have simply been testing whether it is possible to use the "file" option in a loop object to specify the trial structure of the experiment on a subject-by-subject basis. To do that test, I first started with a visual search experiment that Sebastiaan sent me as JATOS-ready that I knew would work. I've uploaded it to the test server as "Visual Search Original". Of course, it runs perfectly.

    Then I have made one change to that OpenSesame program in the "block_loop" object, changing the method for populating the loop object fields to "file", saving the original contents of the loop object to a csv file, and then including the csv file in the file pool

    Runs perfectly fine within OpenSesame itself, even when run in a browser.

    I've uploaded this modified version to the test server as "Visual Search CSV".

    When running through JATOS, however, it hangs at the "loading experiment" screen:

    So, yes, probably a path problem, but its not clear to me how OpenSesame defines the path for files associated with loop objects.



  • Hi Andrew,

    I think your problem may be related to the fact that you use a 'file' as source. As described in the OSWeb manual, using files to populate loop cells is not supported (; see 'Supported functionality' section). If I am right, this is then more an OSWeb issue than a Jatos problem.



  • Thanks, that's it.

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