The three windows on the left allow you to input scripts based on the programming language Python:

Window

Description

Pre Loop - Single Execution on Experiment Start

Import modules and define functions or variables. This part is executed only once at the beginning of the feedback experiment.

Loop Script - Repetitive Execution During Experiment Runtime

Executed every time an observable used within the loop script changes. Allows to modify the experiment on-the-fly and react on results from the online image analysis, e.g. stop the acquisition when a defined number of cells have been counted, or to take action upon external signals.

Post Loop Script - Single Execution on Experiment Stop

Define actions that are executed only once when the acquisition is finished, e.g. write the data in a logfile or play a sound when the experiment is finished.

Clear output

Clears the output messages field.

Accept

Adopts the script within the experiment without closing the window.

OK

Adopts the script and closes the window.

Cancel

Leaves the dialog without adopting the script.

For more information, see Editing the Feedback Script.