The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

(PennController.)newTrial().label

description

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

syntax

(PennController.)newTrial().label()

What does (PennController.) mean?


example(s)


@
$Sequence( "practice" , "preload-exp" , rshuffle("filler","test") )
@
@CheckPreloaded( 
@  "filler"
@  ,
@  "test"
$).label( "preload-exp" )
  • Creates a trial labeled preload-exp checking that all the resources used in the PennController trials labeled filler or test are preloaded, and refers to its label in Sequence so it will be run before the filler and test trials, but after the practice trials.