Recording data of stimuli presented from a list


Author
Message
jm560@sussex.ac.uk
jm560@sussex.ac.uk
Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)
Group: Forum Members
Posts: 25, Visits: 208
Hi,

My task presents one of three distractors on every trial retrieved from a list. This works well but I am struggling to record which stimulus has been presented on each trial. Currently the task records reaction time for each trial but I need to be able to match that with the distractor type. Any help would be appreciated! Even direction to other resources, I'm not sure how well i understand data recording and 'values' beyond what i've learnt from the online descriptions & simple demos. Relevant code posted below...

<picture food>
/ items = ("food1.png", "food2.png", "food3.png", "food4.png", "food5.png", "food6.png")
/ select = noreplace
/ position = (50%, 50%)
/ size = (1px * values.imagewidth * expressions.ratio_pxpermm, 1 px * values.imageheight * expressions.ratio_pxpermm)
</picture>

<picture nature>
/ items = ("nature1.png", "nature2.png", "nature3.png", "nature4.png", "nature5.png", "nature6.png")
/ select = noreplace
/ size = (1px * values.imagewidth * expressions.ratio_pxpermm, 1 px * values.imageheight * expressions.ratio_pxpermm)
</picture>

<picture blank>
/ items = ("blank.bmp")
/ select =replace
/ position = (50%, 50%)
</picture>

<list Lowdistractor>
/ items = (picture.nature, picture.food, picture.blank)
/ itemprobabilities = (.10, .10, .80)
/ poolsize = 60
</list>

<values>
/distractor = list.Lowdistractor
</values>

<trial lowX1>
/ ontrialbegin = [trial.lowX1.insertstimulustime(list.Lowdistractor.nextvalue,500);]
/ ontrialend = [trial.lowX1.resetstimulusframes(); ]
/ stimulustimes = [1=fixation; 500=sequence (fixationcover, XLD1, Ll2filler, Ll3filler, Ll4filler, Ll5filler, Ll6filler); 600=eraseblank]
/ validresponse = ("0", "2")
/ correctresponse = ("0")
/ response = timeout(2000)
/ beginresponsetime = 500
</trial>

<data>
/ columns = (date, time, group, subject, trialcode, blockcode, correct, stimulusitem, values.distractor)
</data>

Whole script is attached if needed, but obviously will not work without all the stimuli etc.

Thanks!
Jenny
Attachments
PL_AB.iqx (258 views, 33.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search