touch screen images
Hi,
I am new to Open Sesame and have never attempted programming before. I want to design a child friendly questionnaire. Children will be asked a question and will indicate their answer by pressing on one of 5 different images on the screen. Are there any instruction videos or guides which may help me set this up?
I would be really grateful for any help.
Best wishes,
Maria
Comments
I have looked at the 'Cats, dogs, and capybaras' example, but this doesn't show me how to code the participants' responses. Meaning, I want to be able to see whether the participant clicked on image 1, image 2, image 3 and so on.
Many thanks,
Maria
Hi Maria,
It sounds like this is implemented most easily with a form containing
image_buttonwidgets. Forms are very flexible and fairly simple ways to implement these kinds of questionnaire-like experiments.Using the
touch_responseitem, as in the Capybaras tutorial, is also possible. But probably less straightforward then the form approach.Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
Can the location of widgets be specified in pixel space in a canvas, rather than in terms of rows and columns?
No, forms use a row-column approach. Of course, you can determine how these correspond to pixels if you know the size of the screen, the margins, spacing, and number of rows and columns. But that's not the most convenient thing in the world.
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastian.
Thank you so much for your help.
I have followed the steps for how to create widgets. It seems to work.
However, when I open the log file (in excel) I can't interpret my data - there's just lots of text (such as: acc,"accuracy","average_response_time","avg_rt","background","bidi","canvas_backend","clock_backend","color_backend","compensation","coordinates",".......). I guess I need to code my responses somehow for it to make sense in my log file. Is there a way to do this in my script below?
set timeout infinite
set spacing 25
set rows "1;1;1"
set only_render no
set margins "50;50;50;50"
set cols "1;1;1;1;1"
set _theme gray
widget 0 0 1 3 image_button path="s1.png" var=response
widget 1 0 1 3 image_button path="s2.png" var=response
widget 2 0 1 3 image_button path="s3.png" var=response
widget 3 0 1 3 image_button path="s4.png" var=response
widget 4 0 1 3 image_button path="s5.png" var=response
I would be really grateful for any advice!
Maria
No worries. I found the answer to my question in another thread.