ZEISS Microscopy Knowledge Base
Help
ZEISS Microscopy Knowledge Base

Script Editor for Experiment Feedback Dialog

Input Windows

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.

Debugging Tab

Parameter

Description

General

-

Show Warning Popup

Allows to open warning popups.

-

Show Output Messages

Opens the output messages field. Here the messages defined below are displayed during script run for debugging purposes.

Output Messages

-

Show

Displays the corresponding message in white.

-

Highlight

Displays the corresponding messages with different colors.

User Defined Messages

-

Write to Output

Writes user defined messages (ZenService. Xtra.System. WriteDebugOutput (string message)).

Auto Messages

-

Observable Change

Writes a notification each time an observable changes.

-

Action Called

Writes a notification each time an action is called.

-

Action Executed

Writes a notification each time an action is executed.

-

Action Warning

Writes action warning messages.

-

Exception

Writes exception messages.

-

Script Run

Writes which part of the script (preloop, loop script, post loop script) is run.

Additional Information

-

Show Message Type

Allows to additionally display the message type.

-

Show Time Stamp

Allows to additionally display the time stamp for each message.

-

Follow Debug Message

Follows the output if activated.

Clear output

Clears the messages in the output field.

Impressum
Carl-Zeiss-Strasse 22
73447 Oberkochen
Germany
Legal