Hi,
I am running an experiment in which there are two types of trials per block in which the subject has to respond. My error/correct feedback, though, have to be set up as their own <trials>. In this situation, how do I set up a situation in which the block stops after a correctstreak of 8 correct only in the relevant 2 types of trials (not including the feedback trials)?
Code is below (the 'emotion' trials are the feedback trials and the 'target' trials are the actual trials in which a response is required). The <block> element I currently have is at the end - this code doesn't work because it includes the feedback trials in the correctstreak as well.
Thanks [:D]
<trial happy1left>
/stimulustimes = [0=happy1left; 0=target2right; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial angry1left>
/stimulustimes = [0=angry1left; 0=target2right; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial happy1right>
/stimulustimes = [0=happy1right; 0=target2left; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial angry1right>
/stimulustimes = [0=angry1right; 0=target2left; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial target1corrleft>
/ validresponse = (lbuttondown, rbuttondown)
/correctresponse = (lbuttondown)
/inputdevice = mousekey
/pretrialpause =1000
/stimulustimes = [0=target1left; 0=target2right; 0=stimulussignal]
/ responsetrial = ("lbuttondown", happy1left)
/ responsetrial = ("rbuttondown", angry2right)
</trial>
<trial target1corrright>
/ validresponse = (lbuttondown, rbuttondown)
/inputdevice = mousekey
/pretrialpause =1000
/ correctresponse = (rbuttondown)
/stimulustimes = [0=target1right; 0=target2left; 0=stimulussignal]
/ responsetrial = ("lbuttondown", angry2left)
/ responsetrial = ("rbuttondown", happy1right)
</trial>
<trial happy2left>
/stimulustimes = [0=happy2left; 0=target1right; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial angry2left>
/stimulustimes = [0=angry2left; 0=target1right; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial happy2right>
/stimulustimes = [0=happy2right; 0=target1left; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial angry2right>
/stimulustimes = [0=angry2right; 0=target1left; 0=correctsignal]
/timeout = 1500
/correctresponse = (noresponse)
</trial>
<trial target2corrleft>
/ validresponse = (lbuttondown, rbuttondown)
/correctresponse = (lbuttondown)
/inputdevice = mousekey
/pretrialpause =1000
/stimulustimes = [0=target2left; 0=target1right; 0=stimulussignal]
/ responsetrial = ("lbuttondown", happy2left)
/ responsetrial = ("rbuttondown", angry1right)
</trial>
<trial target2corrright>
/ validresponse = (lbuttondown, rbuttondown)
/correctresponse = (rbuttondown)
/inputdevice = mousekey
/pretrialpause =1000
/stimulustimes = [0=target2right; 0=target1left; 0=stimulussignal]
/ responsetrial = ("lbuttondown", angry1left)
/ responsetrial = ("rbuttondown", happy2right)
</trial>
<block 1>
/ trials = [1-30 = noreplace (target1corrleft, target1corrright)]
/stop = [block.1.correctstreak == 16]
</block>