Howdy, Stranger!

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

Supported by

Add questiosn after every four items in experiment loop

I have an open sesame project with one list with 40 items sequentially playing a row with no questions in between. Each participant needs to see all 40 items in that order. But participants loose focus when they do all 40 items in a row. We want to add questions after every 5-6 items but I cannot figure out how to do this in Open Sesame. How can I add in questions (click or keyboard press) after every 5 items?

I want it to move on auto matically after answering the question as it does for consent form or multiple choice form if possible.

**** I am very beginner for jatos and open sesame. Only created one project so far and used the same template to create others.


Thank you,


Priya

Comments

  • Hi @multanip,

    If I understand correctly your description, you are using a single loop with 40 rows and present it sequentially (that is in the same fixed order for all participants, not in a random order),

    There are several ways in which you can insert the question after a specific number of trials. The easiest way is to insert extra rows corresponding to the trials in which you want the question to show. You can a column coding for a variable you may call, for example, TrialType, and set it to "Trial" on all trials except those where you want the question to appear (you can set TrialType to "Question") on those.


    You can insert into your sequence a sketchpad with your question (and anything else you may want to include with it, such as for example a keyboard event). Then you just have to use the "Run if" paramter of the sequence (see https://osdoc.cogsci.nl/4.0/manual/structure/sequence/) to indicate what events in the sequence should be presented on a typical trial and what objects should be presented on a Question trial.

    The result will be that upon coming across a row where TrialType is equal to "Question"; only the objects related to the question would be presented.

    There are alternative ways of doing this using some coding but the method above is the simplest and should work well in your case.

    Here's the example described abovve. You should be able to use this method and adapt it to your task.

    Hope this helps.

    Fabrice.

    Buy Me A Coffee

  • Hello,

    I tried this method and looked at the osexp file. I tried to copy the method from the file but its not working. Its giving error when it reaches the first question. Also, There is extra white space added after the video that was not there in the original version. I want so that the picture stays on for 10000ms after the audio finishes if the particiapnt does not answer. IF they answer, it moves on to the next audio picture but now if has extra white space after the audio finishes. I do not answer why.

    I need the the picture audio to play and stay on for 10000ms after the audio ends and moves on or if answer is picked after the audio then moves to next item. Then after every five items or so a questions has to be answered, but I get error message when its turn for the question to appear.

    I tried the Trial type == Trial or Questions for all or for some still get error message. I cant figure what I am doing wrong.

    I would attach but the file is too big, so I think i will send in email with teh same heading as this forum.

    THank you

  • I need an email address to send to.

  • Hi @multanip ,

    If you want to share a large file, you can use a service such as WeTransfer, Google Drive, etc, and then post the link here.

    — Sebastiaan


  • Can you please try this and see if it works. I have tried another format of this expriment. it is also not working.


    Thank you

  • Hi @multanip,

    Yes it works. However, I can't reupload it. Perhaps it makes sense to not include the wav files in the file pool, but have them in the same directory as your experiment? But that just at the side.

    As I can't upload the experiment, here some screenshot what you need to do.

    Step 1: Add a variable to your loop table with the trial number:

    Step 2: Add whatever interrupting item you need to the loop, and set its run_if field to trial_no % 5 == 0.

    Like so, you will make sure that that item occurs every 5th time (if you want every 6th times, you need to use 6 instead of 5)


    Eduard

    Buy Me A Coffee

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