I am asking assistance with my experiment, I have been trying to randomise/loop images but they never appear as random, only one of them appears 4 times instaead of 4 different images appearing in random order

:sob: :sob: :sob: :sob: I went and removed the .png and then I ran the experiment, the pictures are appearing at random.

I am so happy :sob: I literally have been working on this from last year June and I would stop after trying for a while becuase I would get the same outcome every single time. Thank you so much, from the bottom of my heart, I am thankful.

Hi, here are some of the instructions for the experiment: (Once the test display appears, a number between 8-11 will be shown in the bottom right-hand corner of the screen. Participants must press β€˜yes/no’ to show whether they had counted target items correctly and their reaction times (RTs) will be recorded. )

My question is, how do I add the number between 8-11 after the display has appeared (do I add the text component?) and how do I add the response (participants must press yes/no to show they had counted correctly; do I add the keyboard component and add the (allowed keys to be β€˜yes,’ β€˜no’) ?

Hello @Mataviola

Yes, you add a text-component to display a number between 8-11 to your trial routine. Make this number a variable that you read from your Excel file or generate a random number on each iteration of your loop. For responses, you could use a keyboard-component and specify two keys that represent your yes and no answer. I often use the f-key and j-key because they are easily felt on a keyboard.

Best wishes Jens

Hi, okay, no problen, thank you.

So, I added another looped routine and I added a text component that has the $number that is being read from the loop excel (that has a number between 8-11), and then then in the routine there is a keyboard-component for the yes/no reponse.

Is that fine too?

Also, I created a trial 2, because I am supposed to have 2 trials and they will have different images, and the participants will respond to both trial 1and 2 (they’ll play after the other, and in order to go to trial 2, the participants should have completed the response process for trial 1). is that fine? so it’s welcome, instruction, instruction2, loop (trial 1), loop (response for trail 1), loop (trial 2), loop (trial 2), and then the goodbye message?

Hello @Mataviola

Would you mind posting your flow? Why do you have separate loops, e.g. loop(trial1) and loop(response for trial1)? I do not know your experiment, but most people want loop(trial1, response for trial1). That way the things you present in trial1 are related to response for trial1.

Best wishes Jens

Hi. I added the response trials because whenever I add the text component inside the loop trial 1, the number that is added in the trial 1 excel (Ito make the excel have 4 component, 2 parameters) appear after every single image randomoizes instead of appearing after all the images have appeared (at random - like we did the other day) and then the keyboard-response-component will then need to be pressed to complete the trial

So I thought to add the response trial after every trial (the one that has the images appearing at random), and bothe the trial response have the text $number - detects from the excel on its loop and the keyword-response that participants get to choose yes/no to complete what the experiment requires from them .

- this shows the whole flow at the bottom and then it is showing the response trial components (text and keyword fo

r response) - this shows the rest of the flow (and I added the blank500 just so that there could be a blanlk period between trial 1 resxponse and trial 2 starting point)

Hello @Mataviola

Now you present your fruits trialFruits-times and then the number and its response trials-time. I do not understand how trialsFruits and the responses in trials are linked to each other. But you know best how your experiment should run.

Best wishes Jens

1 Like