Group: Forum Members
Posts: 2,
Visits: 7
|
Hi all! I'm very new to Inquisit and struggling to find the problem (although it is probably very obvious) in my code.
I'm trying to get a target letter to present simultaneously with a left and right flanker along the horizontal. Whilst the code launches, it only presents one letter.
Here's an excerpt of an example trial and how the stimuli are defined (note: size, colour, etc are all kept the same and defined in a defaults section). The target letter is a "c" presented on the right side of the screen, and the aim is to have it flanked by two other letters (selected at random from "C", "D", "S", and "V.") These flankers are supposed to present 1 unit of target width away from the target along the horizontal.
I'm thinking it may be because i'm lacking something which instructs inquisit to select the Righttarget_Lflanker1 at (and Rflanker) at random from the /items? Or because /items isn't valid under a text element so i need /select somewhere? I'm really not sure.
Any help would be greatly appreciated!
<text Right_C> /items = ("C") /position = (66.57%, 50%) </text>
<text right_target> /items = ("C","D","S","V") /position = (66.57%, 50%) </text>
<text Righttarget_Lflanker1> /items = ("C","D","S","V") /position = (text.right_target.hposition - 1*text.right_target.width, 50%) </text>
<text Righttarget_Rflanker1> /items = ("C","D","S","V") /position = (text.right_target.hposition + 1*text.right_target.width, 50%) </text>
<trial CD1_RT_C> / stimulustimes = [1=text.fixation; 1000=Right_C, Righttarget_Lflanker1, Righttarget_Rflanker1; 1100 =clearscreen] / inputdevice = keyboard / validresponse = ("c", "d", "s", "v") / correctresponse = ("c") / posttrialpause = 500 </trial>
|