+xWhat the error message tells you is that no <trial P2irrelevants> element exists in the script, thus the blocks -- where you reference such a trial element -- cannot run. In other words, the thing you told them to run is not there.
Hi Dave,
yes understand that, but trial.P2irrelevants is defined in the script (where TRIALS PRACTICE 2 is written above). I will put the part where I define the trials here:
TRIALS PRACTICE 1
_________________________________________________________________________________________________________________________________________
<trial Pirrelevants>
/ ontrialbegin = [
trial.Pirrelevants.resetstimulusframes();
trial.Pirrelevants.insertstimulustime(list.irrelevants.nextvalue, 200);]
/branch= [if(trial.Pirrelevants.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
//timeout = 1500
/beginresponsetime = 0
</trial>
<trial Ptargets>
/ ontrialbegin = [
trial.Ptargets.resetstimulusframes();
trial.Ptargets.insertstimulustime(list.targets.nextvalue, 200);]
/branch= [if (trial.Ptargets.responsetext == "l")trial.wrong]
/stimulustimes = [0 = yes, no]
/validresponse = ("s","l")
/correctresponse = ("s") // yes = s-key
//timeout = 1500
/beginresponsetime = 0
</trial>
<trial Pprobes>
/ ontrialbegin = [
trial.Pprobes.resetstimulusframes();
trial.Pprobes.insertstimulustime(list.probes.nextvalue, 200);]
/branch= [if (trial.Pprobes.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no; 800 = tooslow]
/validresponse = ("s","l")
/correctresponse = ("l")
//timeout = 1500
/beginresponsetime = 0
</trial>
TRIAL SOUNDS PRACTICE 1
<trial Pirrelevants_sounds>
/ ontrialbegin = [
trial.Pirrelevants_sounds.resetstimulusframes();
trial.Pirrelevants_sounds.insertstimulustime(list.irrelevants_sounds.nextvalue, 200);]
/branch= [if(trial.Pirrelevants_sounds.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no, soundicon]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
//timeout = 2500
/beginresponsetime = 0
</trial>
<trial Ptargets_sounds>
/ ontrialbegin = [
trial.Ptargets_sounds.resetstimulusframes();
trial.Ptargets_sounds.insertstimulustime(list.targets_sounds.nextvalue, 200);]
/branch= [if(trial.Ptargets_sounds.responsetext == "l")trial.wrong]
/stimulustimes = [0 = yes, no, soundicon]
/validresponse = ("s","l")
/correctresponse = ("s") // no = l-key
//timeout = 2500
/beginresponsetime = 0
</trial>
<trial Pprobes_sounds>
/ ontrialbegin = [
trial.Pprobes_sounds.resetstimulusframes();
trial.Pprobes_sounds.insertstimulustime(list.probes_sounds.nextvalue, 200);]
/branch= [if(trial.Pprobes_sounds.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no, soundicon]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
//timeout = 2500
/beginresponsetime = 0
</trial>
TRIALS PRACTICE 2 PHASE (time out, wrong FB)
________________________________________________________________________________________________
<trial P2irrelevants>
/ ontrialbegin = [
trial.P2irrelevants.resetstimulusframes();
trial.P2irrelevants.insertstimulustime(list.irrelevants2.nextvalue, 200);]
/branch= [if(trial.P2irrelevants.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
/timeout = 1500
/beginresponsetime = 0
</trial>
<trial P2targets>
/ ontrialbegin = [
trial.P2targets.resetstimulusframes();
trial.P2targets.insertstimulustime(list.targets2.nextvalue, 200);]
/branch= [if (trial.P2targets.responsetext == "l")trial.wrong]
/stimulustimes = [0 = yes, no]
/validresponse = ("s","l")
/correctresponse = ("s") // yes = s-key
/timeout = 1500
/beginresponsetime = 0
</trial>
<trial P2probes>
/ ontrialbegin = [
trial.P2probes.resetstimulusframes();
trial.P2probes.insertstimulustime(list.probes2.nextvalue, 200);]
/branch= [if (trial.P2probes.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no; 800 = tooslow]
/validresponse = ("s","l")
/correctresponse = ("l")
/timeout = 1500
/beginresponsetime = 0
</trial>
TRIAL SOUNDS PRACTICE 2 (time-out, wrong FB)
<trial P2irrelevants_sounds>
/ ontrialbegin = [
trial.P2irrelevants_sounds.resetstimulusframes();
trial.P2irrelevants_sounds.insertstimulustime(list.irrelevants_sounds2.nextvalue, 200);]
/branch= [if(trial.P2irrelevants_sounds.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no, soundicon]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
/timeout = 2500
/beginresponsetime = 0
</trial>
<trial P2targets_sounds>
/ ontrialbegin = [
trial.P2targets_sounds.resetstimulusframes();
trial.P2targets_sounds.insertstimulustime(list.targets_sounds2.nextvalue, 200);]
/branch= [if(trial.P2targets_sounds.responsetext == "l")trial.wrong]
/stimulustimes = [0 = yes, no, soundicon]
/validresponse = ("s","l")
/correctresponse = ("s") // no = l-key
/timeout = 2500
/beginresponsetime = 0
</trial>
<trial P2probes_sounds>
/ ontrialbegin = [
trial.P2probes_sounds.resetstimulusframes();
trial.P2probes_sounds.insertstimulustime(list.probes_sounds2.nextvalue, 200);]
/branch= [if(trial.P2probes_sounds.responsetext == "s")trial.wrong]
/stimulustimes = [0 = yes, no, soundicon]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
/timeout = 2500
/beginresponsetime = 0
</trial>