I'm currently programming a version of the go/no-go task in which participants need to make a double-response in one condition recording 2 responses.
As such the trial has been programmed this way:
<trial practicedoubleleft>
/ ontrialbegin = [values.cue_side=1]
/ pretrialpause = 0
/ posttrialpause = 0
/ validresponse = (46, 50, 57, noresponse)
/ correctresponse = (46, 57)
/ stimulustimes = [0=fix_green; 1000=practiceHS]
/ beginresponsetime = 1000
/ timeout = 2500
/ ontrialend = [values.double_time = 2500 - trial.practicedoubleleft.latency]
/ branch = [trial.p_double_l]
</trial>
<trial p_double_l>
/ ontrialbegin = [trial.p_double_l.insertstimulustime(clearscreen, values.double_time)]
/ validresponse = (57)
/ iscorrectresponse = [trial.p_double_l.response=="57" && trial.practicedoubleleft.response=="46"]
/ stimulustimes = [0=fix_green, practiceHS]
/ timeout = values.double_time
/ pretrialpause = 0
/ posttrialpause = 0
</trial>
The issue is that in the second 'trial', the practice HS stim changes whereas I need the stimuli to remain the same in both of these trials.
I have tried /erase = false in the picture element but this hasn't worked.
Thanks in advance