Group: Forum Members
Posts: 12,
Visits: 52
|
Hello,
I tweaked the Simon task from the Inquisit library to increase the number of test blocks (from 1 to 3) and the number of trials w/ in each block (from 28 to 60). As in the original, 50% of trials are congruent and 50% incongruent. Here, incongruent means either a blue box appears on the right side of the screen or a red box appears on the left side of the screen. What's odd is that when I run the task, all the trials appear as incongruent, with no congruent ones, but the raw data files say that it's tracking both types of trials, 50/50. Comparing the two scripts - the original and mine - I can't seem to find the line of code which may be causing the error. I've included the line of code that I adapted where the lists and trials are specified.
Thanks!
################ test block - 30 congruent trials ##################
<list congruentstimtype> / items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2) / replace = false / selectionrate = trial </list>
<list congruenthpos> / items = (85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%) / selectionmode = list.congruentstimtype.currentindex </list>
<list congruentcresp> / items = (42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54) / selectionmode = list.congruentstimtype.currentindex </list>
################ test block - 30 incongruent trials ##################
<list incongruentstimtype> / items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2) / replace = false / selectionrate = trial </list>
<list incongruenthpos> / items = (85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,85%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%,15%) / selectionmode = list.incongruentstimtype.currentindex </list>
<list incongruentcresp> / items = (42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54) / selectionmode = list.incongruentstimtype.currentindex </list>
#########################congruent stim trial ########################
<trial congruenttrial> / ontrialbegin = [if(script.currentblock=="practiceblock") { values.stimtype=list.pcongruentstimtype.nextvalue; values.stimhpos=list.pcongruenthpos.nextvalue; values.cresp=list.pcongruentcresp.nextvalue; } else { values.stimtype=list.congruentstimtype.nextvalue; values.stimhpos=list.congruenthpos.nextvalue; values.cresp=list.congruentcresp.nextvalue; }] / posttrialpause = 500 / stimulustimes = [0=fixation; 800=blank; 1050=stimulus,debug] / validresponse = (42,54) / iscorrectresponse = [trial.congruenttrial.response==values.cresp] / response = timeout(1000) </trial>
|