EXP programs: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
An example of a Lab program is the TestLabProgram. All programs have the same basic structure: | An example of a Lab program is the TestLabProgram. All programs have the same basic structure: | ||
Six | Six objects (TestLab classes are starting with TL_) are created in a fixed order and linked by passing references to the objects. | ||
Line 15: | Line 15: | ||
player = TL_experimentPlayer(hardwareSystems, trialRecordings, programPar, experiment); | player = TL_experimentPlayer(hardwareSystems, trialRecordings, programPar, experiment); | ||
guihandler = TL_guiHandler(player, programPar, experiment, hardwareSystems); | guihandler = TL_guiHandler(player, programPar, experiment, hardwareSystems); | ||
At last a GUI is launched with a link to guiHandler. | |||
TL_Gui(guihandler); | TL_Gui(guihandler); | ||
===Program parameters=== | |||
The programPar object .... | |||
===Hardware systems=== | |||
The hardwareSystems object .... | |||
===Experiment=== | |||
The eperiment object .... | |||
===Trial recordings=== | |||
The trialRecordings object .... | |||
===Experiment player=== | |||
The experimentPlayer object .... | |||
===Gui handling=== | |||
The guiHandler object .... | |||
===The GUI=== | |||
The Gui object ... |
Revision as of 12:12, 23 April 2025
Introduction
EXP programs are MATLAB programs for each lab based on the EXP framework. The EXP framework is a MATLAB toolbox developed by Ruurd Lof. The framework is a collection of classes and functions that are the basis for Lab programs.
Standard Lab program
An example of a Lab program is the TestLabProgram. All programs have the same basic structure:
Six objects (TestLab classes are starting with TL_) are created in a fixed order and linked by passing references to the objects.
programPar = TL_programParameters(version); hardwareSystems = TL_hardwareSystems(programPar); experiment = TL_experiment(programPar); trialRecordings = TL_recordingsHandler(programPar, experiment, hardwareSystems); player = TL_experimentPlayer(hardwareSystems, trialRecordings, programPar, experiment); guihandler = TL_guiHandler(player, programPar, experiment, hardwareSystems);
At last a GUI is launched with a link to guiHandler.
TL_Gui(guihandler);
Program parameters
The programPar object ....
Hardware systems
The hardwareSystems object ....
Experiment
The eperiment object ....
Trial recordings
The trialRecordings object ....
Experiment player
The experimentPlayer object ....
Gui handling
The guiHandler object ....
The GUI
The Gui object ...