Hi Dave,
Thank you again for your response.
I did the following but now I have only another copy of the instruction slide, no new test trials.
- Copied the blocks in all 4 <expt> and renamed these (3 = noreplace(shapetest); 5 = noreplace(colortest); and 7 = noreplace(colorshapetest);)
- Copied the following in the BLOCKED TASK: TEST BLOCKS
<block shapetest>
/onblockbegin = [values.selectinstruct = 1]
/onblockbegin = [values.countblockedtrials = 0]
/stop = [values.countblockedtrials == parameters.blocked_numbertrials]
/trials = [1 = BlockedPracticeInstruct; 2= selectblockedtraining]
/recorddata = true
</block>
<block colortest>
/onblockbegin = [values.selectinstruct = 2]
/onblockbegin = [values.countblockedtrials = 0]
/stop = [values.countblockedtrials == parameters.blocked_numbertrials]
/trials = [1 = BlockedPracticeInstruct; 2= selectblockedtraining]
/recorddata = true
</block>
<block colorshapetest>
/onblockbegin = [values.selectinstruct = 3]
/onblockbegin = [values.countblockedtrials = 0]
/stop = [values.countblockedtrials == parameters.blocked_numbertrials]
/trials = [1 = BlockedPracticeInstruct; 2= selectblockedtraining]
/recorddata = true
</block>
- Copied the following in BLOCKED TASK: TEST TRIALS
<trial blockedtask_shapetest>
/ontrialbegin = [values.categorizationtask = "Vorm"]
/ontrialbegin = [values.helper = list.blocked_trainingA.nextvalue]
/ontrialbegin = [if (values.helper == 1) values.selectstim = 1 else values.selectstim = 2]
/ontrialbegin = [if (values.selectstim == 1) values.shape = "CIRKEL" else values.shape = "DRIEHOEK"]
/ontrialbegin = [values.color = ""]
/stimulustimes = [0 = stimulus]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/validresponse = (values.responsekey_circle, values.responsekey_triangle)
/iscorrectresponse = [(values.selectstim == 1 && trial.blockedtask_shapetest.response == values.responsekey_circle) ||
(values.selectstim == 2 && trial.blockedtask_shapetest.response == values.responsekey_triangle)]
/monkeyresponse = (30, 38)
/recorddata = true
/ontrialend = [values.stimulus = picture.stimulus.currentitem]
/branch = [trial.blockedtasktraining_iti]
</trial>
<trial blockedtask_colortest>
/ontrialbegin = [values.categorizationtask = "Kleur"]
/ontrialbegin = [values.helper = list.blocked_trainingA.nextvalue]
/ontrialbegin = [if (values.helper == 1) values.selectstim = 3 else values.selectstim = 4]
/ontrialbegin = [if (values.selectstim == 3) values.color = "Rood" else values.color = "Groen"]
/ontrialbegin = [values.shape = ""]
/stimulustimes = [0 = stimulus]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/validresponse = (values.responsekey_red, values.responsekey_green)
/iscorrectresponse = [(values.selectstim == 3 && trial.blockedtask_colortest.response == values.responsekey_red) ||
(values.selectstim == 4 && trial.blockedtask_colortest.response == values.responsekey_green)]
/monkeyresponse = (30, 38)
/recorddata = true
/ontrialend = [values.stimulus = picture.stimulus.currentitem]
/branch = [trial.blockedtasktraining_iti]
</trial>
<trial blockedtask_colorshapetest>
/ontrialbegin = [values.selectstim = list.blocked_trainingB.nextvalue]
/ontrialbegin = [if (values.selectstim < 3) values.categorizationtask = "Vorm" else values.categorizationtask = "Kleur"]
/ontrialbegin = [if (values.selectstim == 1) {values.shape = "Cirkel"; values.color = ""}]
/ontrialbegin = [if (values.selectstim == 2) {values.shape = "Driehoek"; values.color = ""}]
/ontrialbegin = [if (values.selectstim == 3) {values.shape = ""; values.color = "Rood"}]
/ontrialbegin = [if (values.selectstim == 4) {values.shape = ""; values.color = "Groen"}]
/stimulustimes = [0 = stimulus]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/validresponse = (values.responsekey_circle, values.responsekey_triangle, values.responsekey_red, values.responsekey_green)
/iscorrectresponse = [(values.selectstim == 1 && trial.blockedtask_colorshapetest.response == values.responsekey_circle) ||
(values.selectstim == 2 && trial.blockedtask_colorshapetest.response == values.responsekey_triangle) ||
(values.selectstim == 3 && trial.blockedtask_colorshapetest.response == values.responsekey_red) ||
(values.selectstim == 4 && trial.blockedtask_colorshapetest.response == values.responsekey_green)]
/monkeyresponse = (30, 38)
/recorddata = true
/ontrialend = [values.stimulus = picture.stimulus.currentitem]
/branch = [trial.blockedtasktraining_iti]
</trial>
I thought I copied all three blocks and associated elements with this, but apparently I didn't.
Can you please advise again on how to adapt the script?
Best regards,
Bob Ramakers