EnterCondition and ExitCondition
EnterCondition and ExitCondition provide control over whether an epoch will be displayed and the conditions under which it will terminate based on user-defined conditions. They provide functionality similar to if, while and repeat (for) programming control flow.
Thank you for your interest in LabMaestro! The page you are trying to access is under development. We are working on comprehensive documentation to help you make the most of our software. If you require any help, please feel free to contact us via email at support@vpixx.com.
By default, when implementing an experiment design, all Epochs within Timelines will be displayed and executed only once. However, some experiment designs may require more flexibility and users may wish to:
Display an epoch only if a condition is met based on a variable defined in a Constant Stimuli (Condition List) method, and keep the rest of the timeline untouched.
Repeat the content of an epoch for a specific number of time;
Continue to show an epoch until certain conditions are met.
If the ExitCondition of Epochs always evaluates to false during runtime, it causes an infinite loop. Similar to a traditional programming language, the experiment cannot proceed further (you can refer to EnterCondition and ExitCondition for more details). However, if you hold down the Esc key, it will break out of the infinite loop and exit the previewed timeline or launched experiment. This will bring back the control to the LabMaestro editor.