Dave,
below is the code of a text based stimulli.
What happens with this is that the target or rather one of two targets always lands where the X was. So far so good.
Then I try placing one of the distractors - good, not on X but elsewhere.
Second distractor also good
Final distractor - clashes all over the place - on top of X or other distractors ????
<defaults>
/ screencolor = (0,0,0)
/ fontstyle = ("Arial", 30pt)
/ txcolor = white
</defaults>
<block myblock>
/ trials = [1=mytrial]
</block>
<trial mytrial>
/ stimulustimes = [1= fixation,txt1,txt2,txt3,txt4 ;500=twotargets,distractor1,distractor2,distractor3]
/ validresponse = (anyresponse)
</trial>
<text fixation>
/ items = ("+")
/ erase = false
/ txbgcolor = black
</text>
<text txt1>
/ items = ("X")
/ txbgcolor = black
/ hposition = counter.type1xpos.selectedvalue
/ vposition = counter.type1ypos.selectedvalue
/ erase = true(black)
</text>
<text txt2>
/ items = ("H")
/ txbgcolor = black
/ hposition = counter.type2xpos.selectedvalue
/ vposition = counter.type2ypos.selectedvalue
/ erase = true(black)
</text>
<text txt3>
/ items = ("I")
/ txbgcolor = black
/ hposition = counter.type2xpos.selectedvalue
/ vposition = counter.type2ypos.selectedvalue
/ erase = true(black)
</text>
<text txt4>
/ items = ("T")
/ txbgcolor = black
/ hposition = counter.type2xpos.selectedvalue
/ vposition = counter.type2ypos.selectedvalue
/ erase = true(black)
</text>
<counter type1xpos>
/ items = (25.0000%, 25.0001%, 75.0000%, 75.0001%)
/ select = noreplace
</counter>
<counter type1ypos>
/ items = (25.0000%,75.0000%,25.0000%,75.0000%)
/ select = current(type1xpos)
</counter>
<counter type2xpos>
/ items = (25.0000%, 25.0001%, 75.0000%, 75.0001%)
/ not = (type1xpos)
/ select = noreplace
/ selectionrate = always
</counter>
<counter type2ypos>
/ items = (25.0000%, 75.0000%, 25.0000%, 75.0000%)
/ select = current(type2xpos)
/ selectionrate = always
</counter>
<counter type3xpos>
/ items = (25.0000%, 25.0001%,75.0000%,75.0001%)
/ not = (type1xpos,type2xpos)
/ select = noreplace
/ selectionrate = always
</counter>
<counter type3ypos>
/ items = (25.0000%, 75.0000%, 25.0000%, 75.0000%)
/ select = current(type3xpos)
/ selectionrate = always
</counter>
<counter type4xpos>
/ items = (25.0000%, 25.0001%,75.0000%,75.0001%)
/ not = (type1xpos,type2xpos,type3xpos)
/ select = noreplace
/ selectionrate = always
</counter>
<counter type4ypos>
/ items = (25.0000%, 75.0000%, 25.0000%, 75.0000%)
/ select = current(type3xpos)
/ selectionrate = always
</counter>
+++++++++++++++++++++++++++++++++++
target placement
+++++++++++++++++++++++++++++++++++
<item targets>
/1 = "|"
/2 = "-"
</item>
<text twotargets>
/items = targets
/ txbgcolor = black
/select = twotargetscounter
/position = (type1xpos,type1ypos)
/erase = true(black)
</text>
<list twotargetscounter>
/items = (1,2)
</list>
+++++++++++++++++++++++++++++++++
Distractor placement
+++++++++++++++++++++++++++++++++
<text distractor1>
/ items = ("/")
/ txcolor = red
/ txbgcolor = white
/select = distractorxpos
/ hposition = (counter.distractorxpos.selectedvalue)
/ vposition = (counter.distractorypos.selectedvalue)
</text>
<text distractor2>
/ items = ("/")
/ txcolor = black
/ txbgcolor = red
/select = distractorxpos2
/ hposition = (counter.distractorxpos.selectedvalue)
/ vposition = (counter.distractorypos.selectedvalue)
</text>
<text distractor3>
/ items = ("\")
/ txcolor = yellow
/ txbgcolor = green
/select = distractorxpos3
/ hposition = (counter.distractorxpos.selectedvalue)
/ vposition = (counter.distractorypos.selectedvalue)
</text>
<counter distractorxpos>
/ items = (25.0000,25.0001, 75.0000, 75.0001)
/ select = noreplace
/ not = (type1xpos)
/ selectionrate = always
</counter>
<counter distractorypos>
/ items = (25.0000%, 75.0000%,25.0000%,75.0000%)
/ select = current(distractorxpos)
</counter>
<counter distractorxpos2>
/ items = (25.0000,25.0001, 75.0000, 75.0001)
/ select = noreplace
/ not = (type1xpos,type2xpos)
/ selectionrate = always
</counter>
<counter distractorypos2>
/ items = (25.0000%, 75.0000%,25.0000%,75.0000%)
/ select = current(distractorxpos2)
</counter>
<counter distractorxpos3>
/ items = (25.0000,25.0001, 75.0000, 75.0001)
/ select = noreplace
/ not = (type1xpos,type2xpos,type3xpos)
/ selectionrate = always
</counter>
<counter distractorypos3>
/ items = (25.0000%, 75.0000%,25.0000%,75.0000%)
/ select = current(distractorxpos3)
</counter>
Note: with the /not property, i have tried using the other distractor positions to exclude,
eg /not = (type1xpos, distractorxpos, distractorxpos2) for no difference in results.
This is all for the congruent trials where the target will be positioned over the X, but in incongruent trials the target(s) must not sit over the X, and in specifying the position of the target as I have for the congruent trials there is no equivalent property of an element such as hposition = not(type1xpos) is there?
Thanks again Dave for sticking with me with this it is driving me particularly batty.
At present I am at a place with little cell phone and therefore mobile broadband connection, so I have had to drive my car about 20km (sorry 15 miles) to another town where there is some connection.
The joys of country living in Australia.
Patrick