Unable to locate element


Author
Message
gracethenoob
gracethenoob
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 11, Visits: 85
In my experiment, participants see a series of objects and learn whether those (ostensibly) belong to the objects belong to them ("self") or to the experimenter ("other"). In the current task I am programming, participants see one of the images and must report who owned it (self or other). I have based my code off of a working version of another task. However, even though I specified the stimulus images the same way as the previous task, my current experimental task is not working.

The error I am given is "Could not locate element 'self'. I have checked that all the images are in the folder with my code so that's not the problem. Inquisit currently also cannot locate other elements but I suspect the same issue occurs throughout so fixing one will likely help fix them all.

My code is as follows:


<item self>
/1 = "eggplant.jpg"
/2 = "shorts.jpg"
/3 = "toydinosaur.jpg"
</item>

[...]

<trial self_test>
/ontrialbegin = [values.trialcount +=1]
/stimulustimes = [0 = focuspoint; 500 = erasefixaton; 2500 = self]
/correctresponse = ("E")
/validresponse = ("E", "I")
</trial>



What needs to be changed?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search