For instance, I want to have a template for each block of an experiment: block 1, block 2, block 3, block 4, and filler. (The fillers will be interspersed between the blocks which will be presented one at a time.) If I use
…where in here am I telling it what the name of this chunk is so that I can call it in the shuffleSequence? How does it know what I want to call it? Can I use .label(“block1”), and if so, where would I put that?
You could indeed also use the .label command on the closing parenthesis of the global PennController command (i.e. before the closing parenthesis of Template).
If you don’t specify any label, the Template command will look for a column named Label in your table and, if it finds one, it will use the value in the Label cell to label the generated trials. If it finds no column named Label, it will label the generated trials Item-N, where N is a number (which means you could then end up with multiple trials sharing the same label if you use multiple Template commands with no explicit label).