Group: Forum Members
Posts: 2,
Visits: 12
|
Hello,
I am programming a facial recognition memory task where a group of faces will be presented in a learning block and a test block. In the test block, participants will indicate if the face was previously presented by clicking "Old" or "New." I am having a hard time with defining the valid and correct responses within the "test" trials. I keep getting an error message saying that it is an invalid setting. Can you please look at my script and provide some feedback as to what I'm doing wrong?
These are all the lines that I have written regarding the recognition question (if a face is old or new):
<item Recognitionquestions> /1 = "Is this face Old or New?" </item>
<text recognitionquestions> /items = item.recognitionquestions /position = (50%, 5%) / fontstyle = ("Arial", 5%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) </text>
<trial testWIfaces> /ontrialbegin = [values.category = "Wifaces"] /ontrialbegin = [values.itemnumber = list.learningwifaces.nextvalue] /ontrialbegin = [values.itemnumber = list.testwifaces.nextvalue]
/stimulusframes = [1 = wifaces, recognitionquestions] /validresponse = (Old, New) /correctresponse = [if values.itemnumber.wifaces(1-20) == "Old" else values.itemnumber.wifaces(21-40) == "New"] /ontrialend = [values.countcorr_wifaces] </trial>
Thank you for your help.
|