Difference between revisions of "Programming an experiment"

From biophysics
Jump to navigation Jump to search
Line 21: Line 21:
  
 
     TL_Gui(player, guihandler);
 
     TL_Gui(player, guihandler);
<\pre>
+
</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);