Howdy, Stranger!

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

Supported by

Saving Data JATOS

I have a HTML5 intentional binding experiment that I am currenting trying to get on JATOS. I am bit new to this, and cant figure out how to send the data to the server. Would the JATOS code to push the data go in the main HTML file or the .js files? The webclock.js file is where the data is being collected, but trying to convert that data to CSV does not seem to be working. Any help would be greatly appreciated.





  • edited November 2020

    Hi Jason,

    A few things:

    • Are you sure that an intentional binding paradigm will work online? You're expecting effects in the order of tens of ms, if I'm not mistaken. That's not (usually) the kind of temporal resolution that you might get from the browser. Worth trying, but keep in mind that experiments cannot always be very easily translated from the lab to the browser.
    • The JATOS functions (all of those from the jatos.js library) would go into the JS, not HTML.
    • I only found labclock.js in your folder, and that is a declaration of a javascript object (that includes functions). Not strictly a javascript. Are you using any libraries to write your study? That is important information.
    • There are many reasons why your study isn't working and it's hard to pinpoint where exactly to start to help you without more information. It would help if you first create a JATOS study, add your components as they should look like, attach the HTML files corresponding to each component, export the .jzip file and send me that. Also, did you add the necessary lines ad the beginning of your JS?
    • After that, you could try to debug your code: In your browser, go to View -> Developer Tools, and see if there are any errors showing up in the console. That will point you/us to the lines that are causing trouble.

    The following two pages from the docs might help



  • Hi Elisa,

    Thanks for getting back so quickly!

    I have it set up on JATOS and it runs--I just cant get it to send the data after it is done (I have attached the JATOS experiment (I had to zip the jzip file). The version I am using has been used online before (

  • I should add I added the additional lines in my HTML header as suggested by the site

    <script src="/assets/javascripts/jatos.js"></script>

  • Try with this line instead:

    <script src="jatos.js"></script>

    And I tried your study and got an error that 'results' is not defined at this location:

    // Show data (JSON format)
    var dataAsJsonStr = JSON.stringify(results);

    And then I looked a bit around in your experiment. I cannot say I understand the whole code, but in labclock.js is a function storeExperimentData . It seems to do sending of result data. Maybe this is the point were you can change the code to send your result data to JATOS instead?



  • Thanks! I will give this a try!

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