Repeat specific items in a sequence
Hello all,
I was wondering if you could help me. I am trying to create a word recognition task for very young participants on a tablet. The participants will be shown a pair of pictures each time and they will be answering by touching the correct picture that matches the word they heard (the experimenter will be saying the word, so no need for sound stimulus there).
In short, in the beginning of each trial, I want a blank screen to appear till the researcher presses a key on their remote keyboard. I would like the researcher to be able to, from that blank screen, to either press 'n' and go straight to presentation of the first pair of words or, if the child is not paying attention, to press 'a' and call an attention grabber, a video. During the video, it would be great if the researcher could have control over it (pausing, resuming) and when it seems okay, to stop it and go back to the blank screen, from where they can choose to either start the attention grabber again or to move on to the pictures.
So far, I have been trying with inline scripts to call items from the experimental sequence (see picture below).
And the code for the blank screen and attention grabber items:
I would be grateful if someone could point out what I'm doing wrong.
Thank you so much,
Peter
Comments
Hi Peter,
First of all, I would be nice to hear what is not working. Can you give us an error message or some other information on what the problem could be.
Second, the set up you describe is a little complicated. I'm not 100% whether it is possible. Maybe you can first make a simple example to see whether the general idea works. That is, have a simple experiment where you just wait for keyboard responses and make sure that the experimenter as well as the participant can response to the experiment.
Eduard
Hi Eduard,
Thank you so much for taking some time to help me with this. I have managed to solve the problem, which, you are right, I didn't even mention properly, haha. At the end I managed to call using an inline script specific parts of the sequence and repeat till a specific response, using the simple code of items.execute('sequence_item'). It worked very well.
However, I have another problem now. The experiment is running on a windows 10 tablet. Everything runs smoothly till I press the windows key that calls the toolbar and takes me out of the full-screen mode of the presentation of the experiment; every time I go back into the experiment, the display's always shifted towards the right lower corner. This happens only on the tablet. On my computer this is not an issue. Any ideas how I can re-centre it during the experiment. I don't want to have to stop the experiment and restart it. As I work with kids, it's very common for them to press function buttons that can take them out of the experiment.
Thank you so much in advance, and again thank you for your previous answer and, especially, advice; it's always better to make a very simple version at first of what I want my experiment to look like, to see if it's possible. Ahhhh... impatience, my enemy.
Panos