I would also like to add the block definition:
<block iat2compatibletest1>
/ bgstim = (iat2targetAleft, iat2orleft, iat2attributeAleftmixed, iat2targetBright, iat2orright, iat2attributeBrightmixed)
/ trials = [1=iat2instructions;3,5,7,9,11,13,15,17,19,21,23,25= noreplace(iat2targetAleft, iat2targetBright);2,4,6,8,10,12,14,16,18,20,22,24= noreplace(iat2attributeA, iat2attributeB)]
/ errormessage = false
/ responsemode = correct
/ ontrialend = [if(block.iat2compatibletest1.latency <= 10000 && block.iat2compatibletest1.currenttrialnumber != 1 ) values.sum1a = values.sum1a + block.iat2compatibletest1.latency]
/ ontrialend = [if(block.iat2compatibletest1.latency <= 10000 && block.iat2compatibletest1.currenttrialnumber != 1 ) values.n1a = values.n1a + 1]
/ ontrialend = [if(block.iat2compatibletest1.latency <= 10000 && block.iat2compatibletest1.currenttrialnumber != 1 ) values.ss1a = values.ss1a + (block.iat2compatibletest1.latency * block.iat2compatibletest1.latency)]
</block>
Is the long totalmaxlatency maybe the latency of reading the iat2instructions? I am not sure whether these are recorded, too.