PennController.UploadRecordings() (since PennController 1.8) or PennController.UploadRecordings(“label”) or PennController.UploadRecordings(“label” , “noblock”) Creates a trial which, when executed, will send the recordings collected so far via the to the URL provided to . You can specify a label so as to control when the UploadRecordings is to be run in the flow of your experiment, by referencing …
Wiki Category Archives:
PennController.EyeTrackerURL
PennController.EyeTrackerURL(url) (since PennController 1.8) Tells the script where to send the data collected via the EyeTracker elements. The URL should point to a PHP script that is able to parse incoming data. See for more information.
PennController.DebugOff
PennController.DebugOff() (since PennController 1.4) Tells your experiment to not run in Debug mode. This will close the popin window at the bottom-right corner of your experiment, no longer providing you with debugging tools and helpful feedback. You should only use this command when you are ready to collect data. Check the tutorial for a rapid …
PennController.Debug
PennController.Debug() (since PennController 1.2) Note: since PennController 1.4, this command is executed by default so you no longer need to call it. Runs your experiment in Debug mode. A pop-in console appears at the bottom-right corner of the page when your experiment runs in Debug mode. The Debug console gives you information on the experiment’s …
PennController().label
PennController().label( name ) (since PennController 1.1) or newTrial().label( name ) since PennController 1.7 This is another way to assign a label to a PennController trial so you can refer to it in . It is most useful called on or since those commands do not take labels as arguments. Example: [js highlight=”1,7″] Sequence( “practice” , …
PennController.SetCounter
PennController.SetCounter() (since PennController 1.1) or PennController.SetCounter( “label” ) (since PennController 1.1) or PennController.SetCounter( number ) (since PennController 1.1) or PennController.SetCounter( “label” , number ) (since PennController 1.1) or PennController.SetCounter( “inc” , number ) (since PennController 1.1) or PennController.SetCounter( “label” , “inc”, number ) (since PennController 1.1) Creates an item that will set Ibex’s internal counter …
PennController.SendResults
PennController.SendResults() (since PennController 1.1) or PennController.SendResults( “label” ) (since PennController 1.1) Since PennController 1.7, SendResults can be used in three different environments: On its own, it creates a trial whose sole function will be to send the results to the server when it is run. You can give a label to the trial by passing …
PennController.Sequence
PennController.Sequence( labels ) Determines the order in which your trials will be run. Use your trials’ labels to manipulate the running order. Sequence is a handler for the definition of Ibex’s shuffleSequence variable. As such, its arguments follow the same format as those of Ibex’s seq function. See Ibex’s documentation manual, section called Shuffle sequences. …
PennController.Template
(PennController.FeedItems has become deprecated since version 1.0) Template( row => PennController() ) or Template( row => [“controllername”, options, “controllername”, options, …] ) or Template( row => [“label”, “controllername”, options, “controllername”, options, …] ) (since PennController 1.4) or Template( table, row => … ) (where … is any of the continuations above) Generates trials from a …
PennController.ResetPrefix
PennController.ResetPrefix( “prefix” ) or PennController.ResetPrefix( null ) By default, all the commands to create and refer back to elements in a PennController trial should be preceded by a prefix (PennController.Elements. as of beta 0.3). It is standard practice that every command added by a javascript module (which is what PennController is) uses a specific prefix …