Group: Administrators
Posts: 13K,
Visits: 105K
|
Another option is to use <list> elements in /stimulusframes to have the target <trial>s display either a <text> or <picture> stimulus. Suppose you have three "target A" image-items and 5 "target A" text-items.
<item targetApics> /1 = "flower1.jpg" /2 = "flower2.jpg" /3 = "flower3.jpg" </item>
<item targetAtxts> /1 = "flower text item 1" /2 = "flower text item 2" /3 = "flower text item 3" /4 = "flower text item 4" /5 = "flower text item 5" </item>
<picture targetApic> / items = targetApics / size = (20%, 20%) </picture>
<text targetAtxt> / items = targetAtxts / fontstyle = ("Arial", 5%) / txcolor = white </text>
You'd then set up a list like so:
<list targetA> / items = (picture.targetApic, picture.targetApic, picture.targetApic, text.targetAtxt, text.targetAtxt, text.targetAtxt, text.targetAtxt, text.targetAtxt) / resetinterval = 1 </list>
and set the target A trials' /stimulusframes to select from that list:
<trial targetAleft> / validresponse = ("E", "I") / correctresponse = ("E") / stimulusframes = [1 = list.targetA] / posttrialpause = 250 </trial>
<trial targetAright> / validresponse = ("E", "I") / correctresponse = ("I") / stimulusframes = [1 = list.targetA] / posttrialpause = 250 </trial>
(Full example attached).
|