Programming an experiment

From biophysics
Jump to navigation Jump to search

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);