Difference between revisions of "Programming an experiment"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
==Experiment Programming Framework== | ==Experiment Programming Framework== | ||
− | In the toolbox on Gitlab (biofysica\experiment\experiment programming framework) you can find the framework on which the new sphereMinor program for the [[Auditory Perception Lab]] has been build. | + | In the toolbox on Gitlab (biofysica\experiment\experiment programming framework) you can find the framework on which the new TestLab program (in the Electronics Workshop) and the new sphereMinor program for the [[Auditory Perception Lab]] has been build. |
− | The framework | + | The framework enables you to create a main program |
+ | |||
+ | <pre> | ||
+ | environment = TL_environment(version); | ||
+ | configuration = TL_configuration; | ||
+ | experiment = TL_experiment; | ||
+ | system = TL_system(configuration); | ||
+ | setupInfo = TL_setupinfo; | ||
+ | recordings = TL_recordingsHandler(environment, setupInfo); | ||
+ | guihandler = TL_guiHandler(environment, experiment, configuration); | ||
+ | player = TL_experimentPlayer(system, environment, configuration, experiment, recordings, guihandler); | ||
+ | |||
+ | %--------------------------Launch GUI------------------------- | ||
+ | |||
+ | TL_Gui(player, guihandler); | ||
+ | <\pre> |
Revision as of 14:27, 18 November 2024
Introduction
%todo
Experiment Programming Framework
In the toolbox on Gitlab (biofysica\experiment\experiment programming framework) you can find the framework on which the new TestLab program (in the Electronics Workshop) and the new sphereMinor program for the Auditory Perception Lab has been build.
The framework enables you to create a main program
environment = TL_environment(version); configuration = TL_configuration; experiment = TL_experiment; system = TL_system(configuration); setupInfo = TL_setupinfo; recordings = TL_recordingsHandler(environment, setupInfo); guihandler = TL_guiHandler(environment, experiment, configuration); player = TL_experimentPlayer(system, environment, configuration, experiment, recordings, guihandler); %--------------------------Launch GUI------------------------- TL_Gui(player, guihandler); <\pre>