Presenting two images
in OpenSesame
Hello,
I'm just trying to present two images (target and distracter) simultaneously, randomizing their positions (left and right).
Referring to http://forum.cogsci.nl/index.php?p=/discussion/comment/6377/#Comment_6377, I added the variables into loop item as below and then created the sketchpad in the sequence to add the image stimulus, but it doesn't work correctly.

I imported all images into the file pool.
What can I do?
Thanks!
Comments
Hi rrr,
Did you use the 'Full-factorial design' button in the loop item? See:
Best,
Jarik
Hello Jarik,
Yes I used 'Full-factorial design' in the loop item.
Is it wrong for my design?
Thanks
Hello rrr,
It's hard to say with so little detail.
But your loop item is fully filled like figure 8 below?
http://osdoc.cogsci.nl/3.1/tutorials/beginner/#FigStep3
Best,
Jarik
Hi,
There are 2 rows (image and position) in loop item. The former includes 10 columns (10 images), and the latter does 2 (-300 and 300) as I have already showed by image attached to my first post. So the design is 10x2 full factorial.
OpenSesame shows an error as below.
Thanks
So if I use 'Full-factorial design' to create an example table, it looks like the image below. Note the two empty selected blue cells.
When I click OK the loop item is filled like the image below. Note there are no empty cells!
Does this help?
Jarik
Hi Jarik,
It goes well! I misunderstood the way of 'Full-factorial design' .
Then I'm trying to create an simple experiment similar to this design as a test (please see the attached program). The design is fixed by the default table of loop item. I have gotten an error as below.
Also, It says "[image] is unknown or variably defined" in the sketchpad.
What is the cause of this?
Thanks a lot!
I thought so. This is why I provided a link to the beginner tutorial in my first post
This is the normal behavior (as the image is selected at run-time so it can't be displayed)
It's a very good idea to create a simple experiment to test things. I also think you really should do the tutorial(s):
Good luck,
Jarik
Hi Jarik,
Thanks a lot, but what's the cause of error I mentioned in my 4th comment.
Sometimes, Opensesame suddenly crashes without showing any errors when I run the experiment.
Hi,
I found the error is caused by OpenSesame Runner http://forum.cogsci.nl/index.php?p=/discussion/2437/experiments-dont-run-on-mac-capitan-os-error-without-traceback-info#latest.
It run correctly without any errors when I use multiprocess or_ inprocess_. It may be better to use inprocess because the multiprocess runner takes long time to run the experiment.
Unfortunately there remains a problem of stimulus presenting duration. It takes approximately 4 seconds even though I specified the duration of 1 second in sketchpad.
I have used Opensesame with Expyriment backend in Mac OS10.11.6.
Also I'm not sure which is the best way to present two images simultaneously, sketchpad or inline_script.