Group: Administrators
Posts: 13K,
Visits: 104K
|
The trialcode column isn't supposed to record any response data, it's supposed to record the *name* of the trial element. Not sure why you deliberately chose to not log that or what the risks of mixup with other data is supposed to be.
At any rate, if you want that information to be recorded, you need to do so *somewhere* in your data file(s). If you don't want to use the trialcode column for it, create a <values> entry, store the type of instruction displayed in it, and log that value to the data file(s).
<values> / instructionsshown = "" </values>
<block myblock> / trials = [1=noreplace(InstructionsA,InstructionsB); 2=website] </block>
<trial InstructionsA> / ontrialbegin = [values.instructionsshown=script.currenttrial] / stimulusframes = [1=atxt] / validresponse = (57) / recorddata = false </trial>
<trial InstructionsB> / ontrialbegin = [values.instructionsshown=script.currenttrial] / stimulusframes = [1=btxt] / validresponse = (57) / recorddata = false </trial>
<trial website> / stimulusframes = [1=websitetxt] / validresponse = (57) </trial>
<text atxt> / items = ("A") </text>
<text btxt> / items = ("B") </text>
<text websitetxt> / items = ("Imagine website here...") </text>
<data> / columns = [date time subject blocknum blockcode trialnum trialcode stimulusnumber stimulusitem response latency values.instructionsshown] </data>
<summarydata> / columns = [script.startdate script.starttime script.elapsedtime script.subjectid script.groupid values.instructionsshown] </summarydata>
|