Group: Administrators
Posts: 13K,
Visits: 104K
|
You retrieve it via the stimulus element's currentitem property. Going back to my original example:
<block myblock> / trials = [1-2=mytrial] </block>
<values> / myvalue = "" </values>
<trial mytrial> / ontrialend = [if (trial.mytrial.response == "a") values.myvalue = text.a.currentitem] / ontrialend = [if (trial.mytrial.response == "b") values.myvalue = text.b.currentitem] / ontrialend = [if (trial.mytrial.response == "c") values.myvalue = text.c.currentitem] / stimulusframes = [1=a,b,c] / validresponse = (a,b,c) / inputdevice = mouse </trial>
<text a> / items = ("A1", "A2") / hposition = list.hpos.nextvalue </text>
<text b> / items = ("B1", "B2") / hposition = list.hpos.nextvalue </text>
<text c> / items = ("C1", "C2") / hposition = list.hpos.nextvalue </text>
<list hpos> / items = (35%, 50%, 65%) / selectionrate = always </list>
<data> / columns = [response latency values.myvalue] </data>
|