+xFiles didn't attach intially.
All of these things are reflected in values, as detailed in the script's comments at the top:
/nextstimulus :the number of the next targetstimulus to be presented
/selectstimulus:the index of targetstimulus (in item )
/targetcategory:the targetcategory of the targetstimulus, 1 - 4
/targetformat :the targetformat of the targetstimulus (l = landscape; p = portrait)
/sumRTcorrect_1- sumRTcorrect_8 :the sum of latencies for stimuli of (e.g.) category 1 - only for correct responses
/sumRT_1 - sumRT_8:the sum of latencies for stimuli of (e.g.) category 1 - regardless of accuracy
/repeat:helper variable: counts how often a change trial has run itself
/selectpracticepicture:helper variable: dictates which rectangle (landscape/portrait) to select for practice
/starttime:determines the starttime of a trial (measured at beginning of a picture trial)
/endtime:determines the endtime of a zooming (measured at end of zoom trials)
/expcondition:used for counterbalancing experimental conditions
/format1/forma2:helper variables for instruction purposes; set in expt
/startheight_A/startheight_B:sets the default height of the A(landscape)/B (portrait) picture
/Maxheight_px:maximum height for pictures (display.canvasheight) in pixels
/joystick_y:helper variable to track the y-position of the joystick
/completeRT:stores how long it takes until the joystick is fully extended
/changedirection:stores whether and how often participant changed direction during zooming
(0 = no change)
/joystickchange:stores the absolute change in joystick y-positions from one zoom trial to the next
/trialcode:stores the trialcode of the trial
/RT:stores the latency of the initial response
/correct:stores the correctness of the initial response
/stimulus:stores the stimulus
/initialresponse:stores the initial response
/finalresponse:stores the final response (at time joystick is fully extended)
completed:0 = script was not completed; 1 = script was completed (all conditions run)
Those you need to log to the raw <data> file, exactly as in the original AAT script. You removed the <data> element for some reason.
<data >
/file = "AAT_raw.iqdat"
/ separatefiles = true
/ columns = [date, time, subject, values.expcondition, blockcode, blocknum, values.trialcode, trialnum, values.stimulus,
values.targetcategory,values.targetformat,
values.initialresponse, values.correct, values.finalresponse, values.changedirection,
values.RT, values.completeRT]
</data>
See
https://www.millisecond.com/download/library/v4/aat/aat.iqx