September Tech Tip: Designing an Experimental Study

September 29, 2014

techtip_experiment

Embedding serial programming flow into real-time, event driven simulations can be a pain. Such is the case when designing an experimental paradigm in which you expose participants to a series of trials that repeats stimulus exposures and data collection. Luckily, Vizard has built-in functionality that can simplify the design process of an experiment with multiple phases and trials.

In order to break the different phases up into their logical pieces and control the flow of your program from one phase to another, task functions are extremely helpful. Tasks (created with the viztask module) control the order of events by pausing and waiting for specific conditions to be met, like a key press or an action to end, before they proceed. In this way, when one phase of the experiment is done, another can be set in motion. The Designing an Experimental Study tutorial will guide you through creating an experiment skeleton and building the logic necessary for a study with multiple trials. You’ll see how to organize you program’s flow as well as learn about modules that are useful for the different phases of an experiment.