Howdy, Stranger!

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

Supported by

Image script on sketch pad

I'm experiencing trouble with the creation process More specifically, when I try to set up the sketchpad so that it displays different stimuli according to the variable specified in the loop item it doesn't seem to work. In this case what i did is I selecting all the relevant files corresponding to the different stimuli -and inserting them into the file pool- and editing the script so that it draws on the variable specified in the loop item by entering the name of the variable in this case, "(size)".jpn the programme says image's name is unknown and it displays a question mark in the center of the sketchpad item. I've tried to run the experiment anyway but, after displaying the instructions, it exits the experiment and this information appears on the screen

"Variable 'Size' is not set in item 'size'. You are trying to use a variable that does not exist

I am really in tough spot as i am hoping to run the experiment by the begging of April. I would appreciate any help to solve this and moves me from this spot asap

Thank you v
Hala

Comments

  • Hi Hala,

    You will have to use [size] like file="[size].JPG" instead of (size).

    Best,
    Jarik

  • Thank you put still no luck that question mark is still appearing everytime i change the script

  • The question mark is in the sketchpad when building because the image is selected at runtime. Did you try to run your experiment?

    Best,
    Jarik

  • No it appears whenever I make the change to the script. It appears right in the middle of the sketchpad it self

    Thanks
    Hala

  • Did you try to run your experiment?

  • Yes i have and that just takes me to error page that says "Variable 'Size' is not set in item 'size'. You are trying to use a variable that does not exist. This is after trying to change scrip and the question mark appeareing on the middle if the sketchpad

    Thanx
    Hala

  • Could you upload your experiment here?

    Best,
    Jarik

  • edited March 2017

    This is the experiment i really do appreciate any help to just get this moving along

    thank you
    hala

  • You want to delete the second sequence because that is what is causing the "size error" because in can't find the size variable in block_loop because the second sequence isn't part of the block loop.

    You also want to make the values of size in block_loop match the picture names. So for example big has to be big m1.

    Best,
    Jarik

  • i have done all the changes and it is still not working.

    thanx
    hala

  • is there anyway that i can go around this problem. i am running out off time and just need to solve this problem.

    thanx
    hala

  • An error message would be informative to help you.

    Also looking into the tutorials might empower you with knowledge to solve this on time.

    http://osdoc.cogsci.nl/3.1/tutorials/beginner/

    Best,
    Jarik

  • I found a way around it but what i really need and cant find info to guide me how to set up a sentence that goes with each image. Each sentence is different from the previous one and would require The participant to read it befo viewing it

    Thank you
    hala

Sign In or Register to comment.