## Problem with selecting stimulus pairs using counters

##### Problem with selecting stimulus pairs using counters
 Author Message blop posted 9 Years Ago ANSWER Group: Forum Members Posts: 8, Visits: 1 Hello,I'm trying to create a dot probe task in which each stimulus pair is presented once in each of four trial types (based on top-bottom or bottom-top configuration of each word pair, and the location of the probe).I thought the script was working fine, but have discovered that the stimulus pairs are not always presented in the correct pairs (e.g. 3/16 pairs are not matched in a basic version with only four stimulus pairs).The script is below:*******************************************************************ITEMS*******************************************************************/1 = "one"/2 = "two"/3 = "three"/4 = "four" / 1 = "ONE"/ 2 = "TWO"/ 3 = "THREE"/ 4 = "FOUR"/1 = "p"/2 = "q"*******************************************************************TEXT AND COUNTERS*******************************************************************/ items = probe/ select = replace/ color = white/ vposition = probevpos/items = target/select = stimcounter/vposition = threatvpos/items = neutral/select = current(stimcounter)/vposition = neutralvpos/ items =(1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4)/ select = noreplacenorepeat/ items =(47%,53%,47%,53%,47%,53%,47%,53%,47%,53%,47%,53%,47%,53%,47%,53%)/ select = current(stimcounter)/items =(53%, 47%, 53%, 47%53%, 47%, 53%, 47%53%, 47%, 53%, 47%53%, 47%, 53%, 47%)/select = current(stimcounter)/items =(47%, 47%, 53%, 53%,47%, 47%, 53%, 53%,47%, 47%, 53%, 53%,47%, 47%, 53%, 53%)/select = current(stimcounter)/ items = (25, 16)/ select = current(probe)*******************************************************************OTHER STIMULI AND DEFAULTS*******************************************************************/items = (" + ")/ fontstyle = ("Times", 24pt) / color = (150,150,150)/ size = (100%, 100%)/ txbgcolor = transparent/ screencolor = (150,150,150)/ txcolor = white/ fontstyle = ("Arial Rounded MT", 14pt)*******************************************************************TRIALS AND BLOCKS*******************************************************************/stimulustimes = [0 = fixation; 500 = erase, target, neutral; 1000 = erase, probe]/inputdevice = keyboard/validresponse = ("p","q")/iscorrectresponse = [trial.maintrial.response==counter.correctresponse.selectedvalue]/responsetime = 1000/timeout = 2500/trials = [1-16 = maintrial]Many thanks! Tags Dave posted 9 Years Ago ANSWER Group: Administrators Posts: 12K, Visits: 84K Change/items = neutral/select = current(stimcounter)/vposition = neutralvposto /items = neutral/select = stimcounter/vposition = neutralvpos blop posted 9 Years Ago ANSWER Group: Forum Members Posts: 8, Visits: 1 Thanks, that works a treat!I don't understand the difference between current(stimcounter) and stimcounter though. I would have thought that unless the text for each word in the pair was somehow matched, different stimuli would have been selected. Also the documentation for creating stimulus pairs uses current to specify selection of the matching stimulus item:`/ items = ("BILL", "LINDON")/ select = noreplace/ items = ("CLINTON", "JOHNSON")/ select = current(firstname) `` `However I get the same problem when I use /select=current(target) to select the neutral text i.e. word pairs are no longer consistently matched. Does this have to do with the use of counters in my script? Dave posted 9 Years Ago ANSWER Group: Administrators Posts: 12K, Visits: 84K Does this have to do with the use of counters in my script?Yes.

#### Merge Selected

Merge into selected topic...

Merge into merge target...

Merge into a specific topic ID...