PennController().setOption(option, value)
(since beta 0.3)
Lets you modify a parameter of the controller, as you would for any other controller in Ibex.
This can be helpful if you want to override some default settings, such as countsForProgressBar
which is used by Ibex.
Example:
[js highlight=”7″ try=”data”]
PennController(
newScale(“Score”, 8)
.settings.slider()
.print()
.wait()
)
.setOption(“countsForProgressBar”, false);
[/js]
This trial will not count for the progress bar at the top of the Ibex experiment page (see the Ibex documentation manual).