Howdy, Stranger!

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

Supported by

Sketchpad with images not shown in OpenSesame 3.1

Hello,

I coded an experiment with the variable "image_name" in a loop table.

Code:

set duration 500

set description "Displays stimuli"

draw image center=1 file="[image_name]" scale=0.6 show_if=always x=0 y=0 z_index=0

This works well with OpenSesame 4. However, I need to use this code on an old computer that supports only versions of Opensesame that are before 3.2. I tried to run the same code using OpenSesame 3.1., but the following warning message appears.

Warning: Image name "[image_name]" is unknown or variably defined.

Even though it says that the experiment was successful, it did not show any of the sketchpad with images. I ran directly from the instructions to the end...

Any idea to help with this problem?

Thanks a lof for your time.

Anaïs

Comments

  • Hi @Anaïs,

    I'm assuming that you're not trying to run on Open Sesame 3.1 an experiment initially saved from Open Sesame 4.0, but that you reprogrammed the same experiment from sractch in Open Sesame 3.1. Can you confirm?

    If so, please check that the variable in question is actuall populated when called. You can do so by inserting an inline object and writing to the console the content of that variable. This will allow you to check that the variable is not actually empty when the program tries to access it. Check also that the image files are in the pool and that the file names contained in the variable and in the pool are identical.

    Hope this helps,

    Fabrice.

    Buy Me A Coffee

Sign In or Register to comment.