Hi Dave,
I have one more follow up question. I am looking to get the stimulus information (e.g., the image name) for each trial. Typically, I think this is specified using the
stimulusitem field, however I tried that here and that column is blank when I look at the data output. So then I tried to specify with similarl syntax as was done with the stimulusonset element, but this also is not working. Any suggestions for how to get the stimulus name in the output so that I know which stimuli were presented for which trial (as a reminder I have my trial code for an encoding block below - but you can also look at previous posts in the thread for more detail)?
Many thanks,
Thomas
<data>
/ columns=(group, subject, blockcode, trialnum,
stimulusitem,
stimulusnumber, picture.black_fix.stimulusonset,
picture.P_Enc_r1.stimulusitem, picture.P_Ret_r1.stimulusitem, picture.col_fix_r1.stimulusonset, values.SOA_r1, values.ITI_r1, values.SOA_FR_r1, picture.P_Enc_r1.stimulusonset,
picture.P_Enc_r2.stimulusitem, picture.P_Ret_r2.stimulusitem, picture.col_fix_r2.stimulusonset, values.SOA_r2, values.ITI_r2, values.SOA_FR_r2, picture.P_Enc_r2.stimulusonset,
picture.P_Enc_r3.stimulusitem, picture.P_Ret_r3.stimulusitem, picture.col_fix_r3.stimulusonset, values.SOA_r3, values.ITI_r3, values.SOA_FR_r3, picture.P_Enc_r3.stimulusonset,
picture.P_Enc_r4.stimulusitem, picture.P_Ret_r4.stimulusitem, picture.col_fix_r4.stimulusonset, values.SOA_r4, values.ITI_r4, values.SOA_FR_r4, picture.P_Enc_r4.stimulusonset,
shape.blank.stimulusonset, response, latency)
/ separatefiles = true
</data>
<trial T_Enc_r4>
/ ontrialbegin = [
trial.T_Enc_r4.resetstimulusframes();
trial.T_Enc_r4.insertstimulusframe(picture.col_fix_r4, parameters.start_FR);
trial.T_Enc_r4.insertstimulusframe(picture.black_fix, parameters.cueDur_FR);
values.SOA_r4 =list.SOA_r4.nextvalue;
values.SOA_FR_r4 =list.SOA_FR_r4.nextvalue;
trial.T_Enc_r4.insertstimulusframe(picture.P_Enc_r4, parameters.cueDur_FR + values.SOA_FR_r4);
trial.T_Enc_r4.insertstimulusframe(shape.blank, parameters.cueDur_FR + values.SOA_FR_r4 + parameters.targDur_FR);
trial.T_Enc_r1.insertstimulusframe(text.kpr_man, parameters.cueDur_FR + values.SOA_FR_r1 + parameters.targDur_FR);
trial.T_Enc_r1.insertstimulusframe(text.kpr_nat, parameters.cueDur_FR + values.SOA_FR_r1 + parameters.targDur_FR);
trial.T_Enc_r1.insertstimulusframe(text.kpr_big, parameters.cueDur_FR + values.SOA_FR_r1 + parameters.targDur_FR);
trial.T_Enc_r1.insertstimulusframe(text.kpr_small, parameters.cueDur_FR + values.SOA_FR_r1 + parameters.targDur_FR);
values.ITI_r4 = parameters.respDur + list.ITI_r4.nextvalue;
]
/ stimulustimes = [0=clearscreen]
/ beginresponsetime = parameters.cueDur + values.SOA_r4 + parameters.targDur
/ trialduration = parameters.cueDur + values.SOA_r4 + parameters.targDur + values.ITI_r4
/ validresponse = ("q","w","o","p")
</trial>