PennController().labelGlobal Commands

PennController().label( name ) (since PennController 1.1)

This is another way to assign a label to a PennController item so you can refer to it in PennController.Sequence. It is most useful called on PennController.CheckPreloaded or PennController.InitiateRecorder since those commands do not take labels as arguments.


PennController.Sequence( "practice" , "preload-exp" , rshuffle("filler","test") )

).label( "preload-exp" )

Creates an item labeled preload-exp checking that all the resources used in the trials labeled filler or test are preloaded, and refers to its label in PennController.Sequence so it will be run before the filler and test trials, but after the practice trials.