Reply To: Randomize DashedSentence

PennController for IBEX Forums Support Randomize DashedSentence Reply To: Randomize DashedSentence

#4188
Jeremy
Keymaster

Hi Adam,

The latter method is the correct one, you just need to properly label your items so you can refer to them in Sequence:

PennController.ResetPrefix(null);

PennController.Sequence( randomize("dashed") , "send" );

PennController.Template( PennController.GetTable("mystimuli.csv") ,
    row => [
        "dashed", "DashedSentence", {s: row.Sentence},
    ]
);

PennController.SendResults("send");

This will only work starting with PennController 1.4 though (newly created experiments on expt.pcibex.net currently come with version 1.5).

NB: you don’t need to use GetTable if you’re not filtering your table, you can directly pass the string "mystimuli.csv" as the first argument of Template.

Jeremy