Howdy, Stranger!

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

Supported by

Logger only logs the first trial

edited March 21 in OpenSesame

Hi everyone!

I have an issue with my logger, it seems that it only records the first trial of the experiment but doesn't log anything else after that. Hence, showing only one single row in the file.

Previously, everything worked just fine and I had a custom list of variable in the logger settings. They all seem to get logged nicely. After that I decided to make some adjustments to the block of trials in my experiment because I wanted to randomize the order of the blocks (I only had one block loop that I set to repeat 4 times but I changed it into 4 separate block loops that are run in random order, I used this discussion page as a guide: https://forum.cogsci.nl/discussion/4041/feature-request-allow-each-row-within-a-loop-to-run-different-sequence#latest).

The logger started showing this issue after that. I already updated the custom list of variables, I also tried re-ticking the "automatically log all variables" again to see if it was the problem but it still showed the same result, all the variables seemed to get logged— just only on the first trial.

I included my experiment file below, feel free to try and run it. Honestly it might just be a silly issue that happened because of my clumsiness when I modified the blocks, but I hope anyone can help me resolve this issue because I can't seem to figure it out.

Thank you so much in advance, have a lovely day!

Comments

  • Hi @reirei,

    This is happening because you placed a single instance of the log at the end of your task. The logger saves all of the variables from the task with the value they contain at the moment the log is run. Hence, if you run the log only once at the end of your task, it will only save one row of data with the values the differenet variables have at that moment. So, as it stands, your task is only saving the value of all the task's variables at the very end of your experiment (i.e., the only trial actually registered in the log is the last one.

    You should put the log at the end of the "letter_sequence" sequence and a linked copy (important: linked) at the end of every sequence running a trial (number_sequence, block1_loop_sequence, etc.).

    Incidentally, your task contains quite a lot of redundancy. Your trial sequence does the same thing across the whole experiment. You could have used a single trial sequence and use linked copies across the various blocks instead of creating 6 copies of the same sequence and its objects. The loops are in charge of indicating what stimulus, correct response etc. shoud be displayed, and these would be different. The sequence of event running in each block is essentially doing the same thing, so there is no need to create a distinct one for every block. It's no necessary to put each block within its own sequence either (e.g., block1_sequence, block2_sequence, etc.).

    Your task will run as it is (once you place the logger in the correct places), but you could sreamline it to make it a lot shorter by removing redundancies (would make the task run smoother, and it also reduces the risk of making errors - right now, if you decided to change the duration of the stimulus, you'd have to go and change that in 6 different places, whereas with a single trial sequence and linked copies, you'd achieve that in one single change).

    Hope this helps,

    Fabrice.

    Buy Me A Coffee

  • Hi @Fab,

    Thank you so much for your response, it works perfectly now!

    And thank you so much for your helpful advice on using linked copies for my trial sequence! It could've saved me so much more time if I had known I could've done that. It's my first time using Open Sesame and my experiment was a product of me putting together a bunch of solutions I got from discussion forums, I definitely still have so much to learn.

    At least now I can make my custom logged variable list shorter using linked copies of my sequence— making it easier for me to process my data, and have my experiment work as intended.

    Thank you so much again, have a lovely day!

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