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().setOption

description

Lets you modify a parameter of the controller, as you would for any other controller in Ibex.

syntax

(PennController.)newTrial().setOption()

What does (PennController.) mean?

notes

  • This can be helpful if you want to override some default settings, such as countsForProgressBar which is used by Ibex.

example(s)


@
@newTrial(
@    newScale("Score", 8)
@        .slider()
@        .print()
@        .wait()
@)
$.setOption("countsForProgressBar", false);
  • This trial will not count for the progress bar at the top of the Ibex experiment page (see the Ibex documentation manual).