Group: Forum Members
Posts: 19,
Visits: 48
|
Hi everybody For my task I need different trials for different trials for different blocks. To be specific, I need different trials for practice block 1, practice block 2, practice block 3 (not in the script-piece below) and experimental block since I need different feedbacks etc. I had trouble running my script, and I thought it was the case since the different trials were made out with stimuli (words, pictures and sounds) from the same list. Now I made separate lists that hold the same stimuli (e.g. list.irrelevants1 and list.irrelevants2) for different types of blocktrials. When I run it, I get the message "could not locate the element trial.P2irrelevants in block 2_3" and "trial 3 is unassigned in block 2_3".
I'm a bit lost. Can somebody see what goes wrong here? Thank you in advance, it would help me very much. Amelie
Here is a piece of the script: ______________________________________________________ LISTS OF irrelevants stimuli / target stimuli/ probes stimuli
<list irrelevants> /items = (text.wordirrelevants, picture.pictirrelevants) /selectionmode=random /maxrunsize= 1 /replace = false </list> <list irrelevants2> /items = (text.wordirrelevants, picture.pictirrelevants) /selectionmode=random /maxrunsize= 1 /replace = false </list>
<list targets> /items = (text.wordtargets, picture.picttargets) /selectionmode=random /maxrunsize= 1 /replace = false </list> <list targets2> /items = (text.wordtargets, picture.picttargets) /selectionmode=random /maxrunsize= 1 /replace = false </list>
<list probes> /items = (text.wordprobes, picture.pictprobes) /selectionmode=random /maxrunsize= 1 /replace = false </list> <list probes2> /items = (text.wordprobes, picture.pictprobes) /selectionmode=random /maxrunsize= 1 /replace = false </list> <list irrelevants_sounds> /items = (sound.soundirrelevants) /selectionmode=random /maxrunsize = 1 /poolsize = 6 /replace = false </list> <list irrelevants_sounds2> /items = (sound.soundirrelevants) /selectionmode=random /maxrunsize = 1 /poolsize = 6 /replace = false </list>
<list targets_sounds> /items = (sound.soundtargets) /selectionmode=random /maxrunsize = 1 /poolsize = 2 /replace = false </list> <list targets_sounds2> /items = (sound.soundtargets) /selectionmode=random /maxrunsize = 1 /poolsize = 2 /replace = false </list>
<list probes_sounds> /items = (sound.soundprobes) /selectionmode=random /maxrunsize = 1 /poolsize= 2 /replace = false </list> <list probes_sounds2> /items = (sound.soundprobes) /selectionmode=random /maxrunsize = 1 /poolsize= 2 /replace = false </list>
.......
<block practice1> /trials = [1-30=noreplacenorepeat(trial.Pirrelevants, trial.Pirrelevants,trial.Pirrelevants,trial.Pirrelevants,trial.Pirrelevants,trial.Pirrelevants, trial.Pirrelevants, trial.Pirrelevants,trial.Pirrelevants,trial.Pirrelevants,trial.Pirrelevants,trial.Pirrelevants, trial.Pirrelevants_sounds, trial.Pirrelevants_sounds, trial.Pirrelevants_sounds, trial.Pirrelevants_sounds, trial.Pirrelevants_sounds, trial.Pirrelevants_sounds, trial.Pprobes,trial.Pprobes, trial.Pprobes,trial.Pprobes,trial.Pprobes_sounds,trial.Pprobes_sounds,trial.Ptargets,trial.Ptargets,trial.Ptargets,trial.Ptargets, trial.Ptargets_sounds,trial.Ptargets_sounds)] / recorddata = true </block>
<block practice2_1> /trials = [1= practice2; 2= fingers; 3-32=noreplacenorepeat(trial.P2irrelevants, trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants, trial.P2irrelevants, trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2probes,trial.P2probes, trial.P2probes,trial.P2probes,trial.P2probes_sounds,trial.P2probes_sounds,trial.P2targets,trial.P2targets,trial.P2targets,trial.P2targets, trial.P2targets_sounds,trial.P2targets_sounds)] / branch = [if ((trial.P2irrelevants.percentcorrect + trial.P2irrelevants_sounds.percentcorrect + trial.P2probes.percentcorrect + trial.P2probes_sounds.percentcorrect + trial.Ptargets.percentcorrect + trial.P2targets_sounds.percentcorrect)/6 < 50 || ((trial.P2irrelevants.meanlatency + trial.P2irrelevants_sounds.meanlatency)/2 > 800)) block.practice2_2;] </block>
<block practice2_2> /trials = [1= practice2_2; 2= fingers; 3-32=noreplacenorepeat(trial.P2irrelevants, trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants, trial.P2irrelevants, trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2probes,trial.P2probes, trial.P2probes,trial.P2probes,trial.P2probes_sounds,trial.P2probes_sounds,trial.P2targets,trial.P2targets,trial.P2targets,trial.P2targets, trial.P2targets_sounds,trial.P2targets_sounds)] / branch = [if ((trial.P2irrelevants.percentcorrect + trial.P2irrelevants_sounds.percentcorrect + trial.P2probes.percentcorrect + trial.P2probes_sounds.percentcorrect + trial.Ptargets.percentcorrect + trial.P2targets_sounds.percentcorrect)/6 < 50 || ((trial.P2irrelevants.meanlatency + trial.P2irrelevants_sounds.meanlatency)/2 > 800)) block.practice2_3;] </block>
<block practice2_3> /trials = [1= practice2_3; 2= fingers; 3-32=noreplacenorepeat(trial.P2irrelevants, trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants, trial.P2irrelevants, trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants,trial.P2irrelevants, trial.P2irr elevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2irrelevants_sounds, trial.P2probes,trial.P2probes, trial.P2probes,trial.P2probes,trial.P2probes_sounds,trial.P2probes_sounds,trial.P2targets,trial.P2targets,trial.P2targets,trial.P2targets, trial.P2targets_sounds,trial.P2targets_sounds)] / branch = [if ((trial.P2irrelevants.percentcorrect + trial.P2irrelevants_sounds.percentcorrect + trial.P2probes.percentcorrect + trial.P2probes_sounds.percentcorrect + trial.Ptargets.percentcorrect + trial.P2targets_sounds.percentcorrect)/6 < 50 || ((trial.P2irrelevants.meanlatency + trial.P2irrelevants_sounds.meanlatency)/2 > 800)) block.practicewrong;] </block>
|